---
title: "Color"
language: "en"
type: "Entity"
summary: "Named colors in common usage and from proprietary color systems."
canonical_url: "https://reference.wolfram.com/language/ref/entity/Color.html"
source: "Wolfram Language Documentation"
related_guides: 
  - 
    title: "Entity Types"
    link: "https://reference.wolfram.com/language/guide/EntityTypes.en.md"
  - 
    title: "Color Processing"
    link: "https://reference.wolfram.com/language/guide/ColorProcessing.en.md"
  - 
    title: "Color Schemes"
    link: "https://reference.wolfram.com/language/guide/ColorSchemes.en.md"
---
# Color

Named colors in common usage and from proprietary color systems.		[Related Interpreter](https://reference.wolfram.com/language/ref/interpreter/Color.en.md)

Entity["Color", name] or Entity[...] represents an entity of type "Color".

Entity[...][prop] gives the value of a specified property.

Entity[...][{propi, …}] gives the value of a list of properties.

EntityClass["Color", {propi -> speci, …}] represents a class of entities with values of propi defined by speci.

## Sample Entities

* Entity["Color", {"AutomobilePaint", {"BMW", "287", "MauritiusBluePearlClearcoat"}}]Entity["Color", {"Crayola", "Cornflower"}]Entity["Color", {"HTML", "GreenYellow"}]Entity["Color", {"HTML", "LightPink"}]Entity["Color", {"Legacy", "CadmiumLemon"}]Entity["Color", {"WolframLanguage", "Brown"}]Entity["Color", {"Miscellaneous", "JuneBud"}]Entity["Color", {"Miscellaneous", "MediumElectricBlue"}]Entity["Color", {"Miscellaneous", "OrangePeel"}]Entity["Color", {"TrafficSign", {"UnitedStates", "Nighttime", "FluorescentGreen"}}]**…**

## Sample Entity Classes

* EntityClass["Color", "CommonColors"]EntityClass["Color", "ElwaColors"]EntityClass["Color", "G4Colors"]EntityClass["Color", "iPassColors"]EntityClass["Color", "SeagateTechnologyColors"]EntityClass["Color", "MoenColors"]EntityClass["Color", "PigmentPrimaryColors"]EntityClass["Color", "SymantecColors"]EntityClass["Color", "AdditiveMixingPrimaryColors"]EntityClass["Color", "InfoglideColors"]**…**

## Properties

|                                  |                                |
| -------------------------------- | ------------------------------ |
| AnalogousColors                  | analogous colors               |
| Brightness                       | brightness                     |
| CIE1976LabValue                  | "CIE "" ""L"^"*""a"^"*""b"^"*" |
| CMYKValue                        | CMYK                           |
| ColorSplitComplements            | color split-complements        |
| ColorTetrad                      | color tetrad                   |
| ColorTriad                       | color triad                    |
| ComplementaryColor               | complementary color            |
| ComplementaryColors              | complementary colors           |
| EntityClasses                    | entity classes                 |
| EntityTypeList                   | entity type list               |
| GrayLevelValue                   | gray level                     |
| HexValue                         | hexadecimal                    |
| HSBValue                         | HSB                            |
| HSIValue                         | HSI                            |
| HSLValue                         | HSL                            |
| HSVValue                         | HSV                            |
| Hue                              | hue                            |
| Hunter1948LabValue               | "Hunter "" ""L""a""b"          |
| Intensity                        | intensity                      |
| Lightness                        | lightness                      |
| LuvValue                         | "L"^"*""u"^"*""v"^"*"          |
| MonochromaticColors              | monochromatic colors           |
| Name                             | name                           |
| NearestColorCountryFlags         | flags with nearby colors       |
| NearestDominantColorCountryFlags | flags with nearby colors       |
| NearestNamedBrandColors          | nearest named brand colors     |
| NearestNamedHTMLColors           | nearest named HTML colors      |
| NearestPMSColors                 | nearest Pantone colors         |
| RGBValue                         | 24‐bit RGB                     |
| Saturation                       | saturation                     |
| sRGBValue                        | 24‐bit sRGB                    |
| Value                            | Wolfram Language               |
| xyYValue                         | xyY                            |
| XYZValue                         | XYZ                            |

## Details

* ``"Color"`` entities include named colors, including canonical and common color names such as green, chartreuse, emerald green and olive drab, as well as colors associated with brands such as Crayola and Benjamin Moore and color systems such as HTML and Pantone.

* ``"Color"`` entity classes include colors grouped by basic properties, as well as colors grouped by trademark holder.

* Some properties are available for the ``"Color"`` entity type as a whole and can be given using the form ``EntityValue["Color", property]``. Such properties include:

|                               |                                                                    |
| ----------------------------- | ------------------------------------------------------------------ |
| "Properties"                  | the list of available properties                                   |
| "PropertyCanonicalNames"      | the standard names of available properties                         |
| "SampleEntities"              | a sample list of available entities (typically of length 10)       |
| "SampleEntityClasses"         | a sample list of available entity classes (typically of length 10) |
| "EntityCount"                 | number of entities available                                       |
| "Entities"                    | the list of available entities                                     |
| "EntityCanonicalNames"        | the standard names of available entities                           |
| "EntityClasses"               | the list of available entity classes                               |
| "EntityClassCanonicalNames"   | the standard names of available entity classes                     |
| "PropertyClasses"             | the list of available property classes                             |
| "PropertyClassCanonicalNames" | the standard names of available property classes                   |
| "PropertyCount"               | number of properties available                                     |

* The following annotations can be used in the third argument of ``EntityValue["Color", property, annotation]`` :

|     |     |
| --- | --- |
| "Source" | source information for the property |
| "Date" | the date associated with the entity-property value (if any) |
| "EntityAssociation" | an association of entities and entity-property values |
| "PropertyAssociation" | an association of properties and entity-property values |
| "EntityPropertyAssociation" | an association in which the specified entities are keys, and values are a nested association of properties and entity-property values |
| "PropertyEntityAssociation" | an association in which the specified properties are keys, and values are a nested association of entities and entity-property values |
| "Dataset" | a dataset in which the specified entities are keys, and values are an association of property names and entity-property values |

* The following annotations can be used in the second argument of ``EntityValue[property, annotation]`` :

|                          |                                                                 |
| ------------------------ | --------------------------------------------------------------- |
| "Qualifiers"             | the list of possible qualifiers for the property                |
| "QualifierValues"        | the list of possible values that can be given to each qualifier |
| "DefaultQualifierValues" | the list of default values for the property's qualifiers        |
| "Description"            | a brief textual description of the property                     |
| "Definition"             | a detailed textual definition of the property                   |
| "PhysicalQuantity"       | the physical quantity associated with the entity-property value |
| "Unit"                   | the unit associated with the entity-property value              |

* A qualifier value of ``Automatic`` indicates that an applicable format of values can be used; e.g. for the ``"Date"`` qualifier, this includes a proper date or date span.

---

## Examples (4)

### Basic Examples (4)

Use ``ToEntity`` and ctrl+= for entity discovery:

```wl
In[1]:= ToEntity[\[FreeformPrompt]["color red"]]

Out[1]= Entity["Color", {"WolframLanguage", "Red"}]
```

---

Find a property value for an entity:

```wl
In[1]:= Entity["Color", {"Miscellaneous", "OrangePeel"}]["NearestPMSColors"]

Out[1]= {Entity["Color", {"PMS", {130, "EC"}}], Entity["Color", {"PMS", {1235, "EC"}}]}
```

---

Retrieve a dataset of all available properties for an entity:

```wl
In[1]:= Entity["Color", {"Legacy", "CadmiumLemon"}]["Dataset"]

Out[1]=
Dataset[Association[EntityProperty["Color", "AnalogousColors"] -> 
   {Entity["Color", {"RGB", {1., 0.889996, 0.009995}}], 
    Entity["Color", {"HSV", {0.04814756827827468, 0.990005, 1.}}], 
    Entity["Color", {"HSV", {0.08148090161160801, 0.9900 ... , {0.7318232138401286, 0.7729427753806705, 0.08903772593784587}}], 
  EntityProperty["Thing", "EntityClasses"] -> {}, EntityProperty["Thing", "EntityTypeList"] -> 
   {EntityType["Color"]}, EntityProperty["Thing", "Name"] -> "HTML cadmium lemon"]]
```

---

```wl
In[1]:= EntityClass["Color", "Hue" -> Quantity[Interval[{IconizedObject[«Blue Hue»] - 15, IconizedObject[«Blue Hue»] + 15}], "Degrees"]]//EntityList//Short

Out[1]//Short= {Entity["Color", {"AutomobilePaint", {"BMW", "054", "OceanBlue"}}], Entity["Color", {"AutomobilePaint", {"BMW", "173", "LapisBlue"}}], Entity["Color", {"AutomobilePaint", {"BMW", "263", "DarkBlue"}}], Entity["Color", {"Brand", {"BenjaminMoore", "Cl ... , "C"}}], Entity["Color", {"PMS", {"Violet", "PC"}}], Entity["Color", {"PMS", {"Blue", 72, "C"}}], Entity["Color", {"PMS", {"Blue", 72, "PC"}}], Entity["Color", {"PMS", {"Reflex", "Blue", "C"}}], Entity["Color", {"PMS", {"Reflex", "Blue", "PC"}}]}
```

## See Also

* [`ChromaticityPlot`](https://reference.wolfram.com/language/ref/ChromaticityPlot.en.md)
* [`ChromaticityPlot3D`](https://reference.wolfram.com/language/ref/ChromaticityPlot3D.en.md)
* [`ColorDistance`](https://reference.wolfram.com/language/ref/ColorDistance.en.md)
* [`ColorSpace`](https://reference.wolfram.com/language/ref/ColorSpace.en.md)
* [`FontColor`](https://reference.wolfram.com/language/ref/FontColor.en.md)
* [`Hue`](https://reference.wolfram.com/language/ref/Hue.en.md)
* [`RGBColor`](https://reference.wolfram.com/language/ref/RGBColor.en.md)
* [`SpectralLineData`](https://reference.wolfram.com/language/ref/SpectralLineData.en.md)
* [`ColorSet`](https://reference.wolfram.com/language/ref/entity/ColorSet.en.md)
* [`LightColor`](https://reference.wolfram.com/language/ref/entity/LightColor.en.md)
* [`PhysicalSystem`](https://reference.wolfram.com/language/ref/entity/PhysicalSystem.en.md)
* [`Color`](https://reference.wolfram.com/language/ref/interpreter/Color.en.md)
* [`ComputedColor`](https://reference.wolfram.com/language/ref/interpreter/ComputedColor.en.md)
* [`StructuredColor`](https://reference.wolfram.com/language/ref/interpreter/StructuredColor.en.md)
* [`Color`](https://reference.wolfram.com/language/ref/textcontent/Color.en.md)

## Related Guides

* [Entity Types](https://reference.wolfram.com/language/guide/EntityTypes.en.md)
* [Color Processing](https://reference.wolfram.com/language/guide/ColorProcessing.en.md)
* [Color Schemes](https://reference.wolfram.com/language/guide/ColorSchemes.en.md)

## History

* [Introduced in 2019 (12.0)](https://reference.wolfram.com/language/guide/SummaryOfNewFeaturesIn120.en.md)