"SelectColor" (Question Interface Type)
"SelectColor"
provides a color picker for one value to be selected.
Details
- In a select color question, exactly one color must be chosen from the system color picker dialog.
- By default, "SelectColor" question interfaces use a color setter for selection.
Properties
- In QuestionInterface ["SelectColor",props], props is an Association that supports the following keys:
-
"Prompt" None text asking the user a question
Corresponding AssessmentFunction
- "SelectColor" is the automatically assigned interface type for an AssessmentFunction of the form AssessmentFunction [{RGBColor 1 ,…}].
- The values in the assessment function can be True and False or numeric values, in which case positive values are interpreted as correct.
Examples
open allclose allBasic Examples (2)
A select color question:
A color question with assessment:
Scope (1)
Create a randomly generated color question:
See Also
QuestionInterface QuestionObject
Question Interface Types: NumericRange ClickLocations
Comparison Methods: Color