---
id: "colorhextriplet"
kind: "pattern"
status: "stable"
is_pii: false
categories: ["common"]
langs: ["common"]
quality: 80
url: "http://registry.apicrafter.io/datatype/colorhextriplet"
---

# Color hex triplet (web color) (`colorhextriplet`)

Web colors are colors used in displaying web pages on the World Wide Web, and the methods for describing and specifying those colors. Colors may be specified as an RGB triplet or in hexadecimal format (a hex triplet) or according to their common English names in some cases.

- Pattern of: `color`
- Personal data (PII): no
- Categories: Common (common)
- Countries: global
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^#(?:[0-9a-fA-F]{3}){1,2}$
```

## Mappings

- wikidata: `P465`

## Supported by tools

- `greatexpectations`
- `talend`

## Translations

- ru: Цвет (в шестнадцатеричной форме): Цвет как физическая характеристика объекта в виде триплета sRGB

## Sources

- wikidata: <https://www.wikidata.org/wiki/Property:P465>
- wikipedia: <https://en.wikipedia.org/wiki/Web_colors>

## Quality

Score 80/100. Missing: examples, negative example.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/colorhextriplet.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/common/colorhextriplet.yaml>
