"Color" (interpreter type)

Natural-language name of a color.

DetailsDetails

  • "Color" can be used in Interpreter and related constructs, including deployed smart form fields.
  • Use of "Color" requires connectivity to the Wolfram Cloud.

Allowed FormsAllowed Forms

  • Any natural-language name of a color.

Restriction SpecificationsRestriction Specifications

  • Restricted["Color",{{choice1, }}]one among choices

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Interpret explicit RGB or CMYK specifications:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Interpret named colors:

In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=
In[5]:=
Click for copyable input
Out[5]=