Datatypes › color

sRGB color hex triplet (hex color)

ID hexcolor

Pattern of colorNot PIIcategorical

Color written as a hexadecimal sRGB triplet, for example #1F5FBF.

Pattern of
Color color
Categories
Common
Countries
Global (not tied to a country)
Languages
Common to most languages
AutoType benchmark
hexcolor
FTA
COLOR.HEX
Wikidata
P465
Quality
95/100 · missing: negative example
Metacrafter rules
no detection rule yet
Supported by tools
Auto-Type, FTA (Fast Text Analysis), Great Expectations Semantic Types Expectations, Talend (Qlik Talend Data Preparation, Data Catalog and Data Inventory)

Regular expression

^#?(?:[0-9A-Fa-f]{3}){1,2}$

Python re syntax.

Examples

ValueDescription
#1F5FBFsix hex digits with a leading #
FF8800six hex digits without #
#FFFshort three-digit form

Translations

LanguageNameDescription
RussianЦвет в шестнадцатеричной кодировкеЦвет sRGB в шестнадцатеричной кодировке

Sources

Use this record