up Inquisit Language Reference

screenColor attribute

The screenColor attribute sets the background color of the screen for the entire block.

Member of

<block> <survey> <defaults> <eyeTracker> <eyeTrackerSrResearch> <eyeTrackerTobii> <instruct>

Syntax

/ screenColor = colorname

or

/ screenColor = hexvalue

or

/ screenColor = (red, green, blue)

or

/ screenColor = expression

Parameters

Name Type Description
colorname color The name of a built in color.
hexvalue color A hexadecimal value starting with '#' indicating the red, green, and blue values (e.g., #FF0000 for red, #00FF00 for green, or #0000FF for blue)
red color An integer from 0 to 255 specifying the intensity of the red component.
green color An integer from 0 to 255 specifying the intensity of the green component.
blue color An integer from 0 to 255 specifying the intensity of the blue component.
expression value An expression that resolves to a color value.

Remarks

The default screenColor is white (255, 255, 255).

Examples

The following sets the background screen color to blue:

<block myBlock>
/ trials = [1-10=myTrial]
/ screenColor = (0, 0, 255)
</block>

Copyright Millisecond Software, LLC. All rights reserved.