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
| Value | Description |
|---|---|
| #1F5FBF | six hex digits with a leading # |
| FF8800 | six hex digits without # |
| #FFF | short three-digit form |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Цвет в шестнадцатеричной кодировке | Цвет sRGB в шестнадцатеричной кодировке |
Sources
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/hexcolor - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/common/hexcolor.yamlon GitHub