Attention Controls
Color Attention Control
The Color Attention Control is a type of attention control in the Monolyth application that requires the driver to remember a color displayed during the video and confirm it when prompted later on.
Type: AttentionControlTypes::TWO_TIMECODES
How it works
During the video, a color is displayed for a brief period of time. The driver is expected to remember the color displayed. After some time has passed, a request is made for the driver to confirm the correct color. The request contains three different colors, one of which is the correct color that the driver saw earlier. The driver has 30 seconds to confirm the correct color.
The colors
The colors are defined in the Attention control class ColorAttentionControl in the AttentionControls namespace:
/**
* @var string[]
*/
protected $colors = [
'#8B4513', // braun
'#FF0000', // rot
'#FFA07A', // lachs
'#FF00FF', // magenta
'#800080', // lila
'#000080', // dunkelblau
'#0000CD', // blau
'#00FFFF', // cyan
'#008000', // grün
'#32CD32', // hellgrün
'#FFFF00', // gelb
'#FFA500', // orange
'#DDDDDD', // hellgrau
'#666666', // dunkelgrau
];