Dataset Viewer
Auto-converted to Parquet Duplicate
name
large_stringlengths
2
184
hex
large_stringlengths
7
7
language
large_stringclasses
2 values
source
large_stringclasses
3 values
base_color
large_stringclasses
20 values
base_hex
large_stringclasses
20 values
delta_e
float32
0
28.4
100 mph
#C93F38
en
color-names
brown
#A52A2A
9.124
18th century green
#A59344
en
color-names
tan
#D2B48C
15.103
1975 earth red
#7B463B
en
color-names
brown
#A52A2A
11.179
1989 miami hotline
#DD3366
en
color-names
brown
#A52A2A
17.245001
20000 leagues under the sea
#191970
en
color-names
indigo
#4B0082
8.864
24 carrot
#E56E24
en
color-names
red
#FF0000
14.6
24 karat
#DFC685
en
color-names
tan
#D2B48C
7.926
3am in shibuya
#225577
en
color-names
blue
#0000FF
18.014
3am latte
#C0A98E
en
color-names
tan
#D2B48C
5.088
400xt film
#D2D2C0
en
color-names
beige
#F5F5DC
7.981
5-masted preußen
#9BAFAD
en
color-names
gray
#808080
16.584999
8 bit eggplant
#990066
en
color-names
purple
#800080
9.641
90% cocoa
#3D1C02
en
color-names
black
#000000
19.747999
99 years blue
#000099
en
color-names
indigo
#4B0082
7.825
a brand new day
#FFAABB
en
color-names
pink
#FFC0CB
5.55
a certain shade of green
#D1EDEE
en
color-names
white
#FFFFFF
11.615
a dime a dozen
#D3DDE4
en
color-names
white
#FFFFFF
8.973
à l’orange
#F2850D
en
color-names
orange
#FFA500
10.361
a la mode
#F6ECDE
en
color-names
beige
#F5F5DC
7.253
a lot of love
#FFBCC5
en
color-names
pink
#FFC0CB
1.398
a mann’s mint
#BCDDB3
en
color-names
beige
#F5F5DC
13.224
a pair of brown eyes
#BFAF92
en
color-names
tan
#D2B48C
5.598
a smell of bakery
#F3E9D9
en
color-names
beige
#F5F5DC
6.751
a state of mint
#88FFCC
en
color-names
turquoise
#40E0D0
12.596
aare river
#00B89F
en
color-names
turquoise
#40E0D0
10.995
aare river brienz
#05A3AD
en
color-names
teal
#008080
12.789
aarhusian sky
#1150AF
en
color-names
blue
#0000FF
16.775
abaddon black
#231F20
en
color-names
black
#000000
7.975
abaidh white
#F2F1E6
en
color-names
beige
#F5F5DC
5.392
abalone
#F8F3F6
en
color-names
white
#FFFFFF
3.819
abalone shell
#E1DED9
en
color-names
white
#FFFFFF
7.372
abandoned mansion
#94877E
en
color-names
gray
#808080
7.747
abandoned playground
#746E6A
en
color-names
gray
#808080
7.608
abandoned spaceship
#747A8A
en
color-names
gray
#808080
8.25
abbey
#4C4F56
en
color-names
gray
#808080
19.01
abbey pink
#CD716B
en
color-names
red
#FF0000
17.143
abbey road
#A79F92
en
color-names
tan
#D2B48C
12.439
abbey stone
#ABA798
en
color-names
tan
#D2B48C
12.401
abbey white
#ECE6D0
en
color-names
beige
#F5F5DC
4.194
abbot
#4D3C2D
en
color-names
black
#000000
20.386
abduction
#166461
en
color-names
teal
#008080
9.912
âbi blue
#5BA8FF
en
color-names
gray
#808080
26.573
abilene lace
#EAE3D2
en
color-names
beige
#F5F5DC
5.888
ablaze
#C04641
en
color-names
brown
#A52A2A
8.565
abloom
#F1CBCD
en
color-names
pink
#FFC0CB
6.671
abomination
#77AA77
en
color-names
turquoise
#40E0D0
20.907
abra cadabra
#966165
en
color-names
brown
#A52A2A
16.302
abra goldenrod
#EEC400
en
color-names
gold
#FFD700
4.586
absence of light
#15151C
en
color-names
black
#000000
6.501
absinthe green
#76B583
en
color-names
turquoise
#40E0D0
17.927
absinthe turquoise
#008A60
en
color-names
green
#008000
14.517
absolute apricot
#FF9944
en
color-names
orange
#FFA500
9.733
absolute zero
#0048BA
en
color-names
blue
#0000FF
13.684
abstract
#E4CB97
en
color-names
tan
#D2B48C
6.822
abstract white
#EDE9DD
en
color-names
beige
#F5F5DC
5.974
abundance
#629763
en
color-names
green
#008000
15.636
abura green
#A19361
en
color-names
tan
#D2B48C
13.002
abyss
#8F9E9D
en
color-names
gray
#808080
11.636
abyssal
#404C57
en
color-names
indigo
#4B0082
17.257
abyssal anchorfish blue
#1B2632
en
color-names
black
#000000
11.888
abyssal blue
#00035B
en
color-names
indigo
#4B0082
10.664
abyssal depths
#10246A
en
color-names
indigo
#4B0082
12.809
abyssal waters
#005765
en
color-names
teal
#008080
15.708
abysse
#3D5758
en
color-names
teal
#008080
16.84
abyssopelagic water
#000033
en
color-names
indigo
#4B0082
18.01
acacia
#DBCD64
en
color-names
gold
#FFD700
10.264
acacia green
#486241
en
color-names
green
#008000
17.027
acacia haze
#969C92
en
color-names
gray
#808080
11.09
academic blue
#2C3E56
en
color-names
indigo
#4B0082
18.389999
academy purple
#525367
en
color-names
gray
#808080
19.58
acadia
#35312C
en
color-names
black
#000000
13.433
acadia bloom
#E5B7BE
en
color-names
pink
#FFC0CB
5.068
acai
#48295B
en
color-names
indigo
#4B0082
11.603
acai berry
#42314B
en
color-names
indigo
#4B0082
18.125
acai juice
#942193
en
color-names
purple
#800080
5.744
acajou
#4C2F27
en
color-names
brown
#A52A2A
19.891001
acanthus
#9899A7
en
color-names
gray
#808080
11.347
acanthus leaf
#90977A
en
color-names
gray
#808080
14.824
acapulco
#75AA94
en
color-names
turquoise
#40E0D0
16.17
acapulco aqua
#7FA8A7
en
color-names
turquoise
#40E0D0
17.681999
acapulco cliffs
#4E9AA8
en
color-names
teal
#008080
12.988
acapulco dive
#65A7DD
en
color-names
gray
#808080
22.427
acapulco sun
#EB8A44
en
color-names
orange
#FFA500
13.452
accent green blue
#208468
en
color-names
teal
#008080
10.92
accent orange
#E56D00
en
color-names
red
#FF0000
16.844
accessible beige
#D2C7B7
en
color-names
tan
#D2B48C
9.889
accolade
#7C94B2
en
color-names
gray
#808080
14.535
accursed black
#090807
en
color-names
black
#000000
1.383
ace
#C7CCE7
en
color-names
white
#FFFFFF
15.589
aceituna picante
#727A5F
en
color-names
gray
#808080
13.503
aceto balsamico
#4E4F48
en
color-names
gray
#808080
19.264999
acid
#00FF22
en
color-names
yellow
#FFFF00
23.775
acid blond
#EFEDD7
en
color-names
beige
#F5F5DC
2.104
acid candy
#A8C74D
en
color-names
yellow
#FFFF00
18.089001
acid drop
#11FF22
en
color-names
yellow
#FFFF00
23.65
acid green
#8FFE09
en
color-names
yellow
#FFFF00
17.157
acid lime
#B9DF31
en
color-names
yellow
#FFFF00
12.369
acid pool
#00EE22
en
color-names
yellow
#FFFF00
24.608
acid pops
#33EE66
en
color-names
turquoise
#40E0D0
23.093
acid reflux
#30FF21
en
color-names
yellow
#FFFF00
23.094999
End of preview. Expand in Data Studio

Color Names Normalized

A dataset for normalizing messy, multilingual, free-text color names to a small, fixed vocabulary. Real-world color attributes — product feeds, marketplace listings, survey answers — are free text with thousands of variants. This dataset maps 38,112 real-world color names (English and French) to a strict 20-color base palette — e.g. "rouge", "dark navy", "burgundy", "whispering grasslands" all resolve to a canonical base color — so color data becomes groupable, filterable, and analyzable.

Each color name comes with its hex code and was assigned to the perceptually closest palette color using the CIEDE2000 color-difference formula in CIELAB space (D65).

Use cases

  • E-commerce catalogs: power color filters and facets from free-text product attributes instead of maintaining hand-written mapping tables.
  • Analytics: aggregate sales or inventory by 20 base colors rather than thousands of vendor-specific shade names.
  • Search & matching: treat "navy", "midnight", and "bleu marine" as the same bucket for retrieval, dedup, or entity matching.
  • ML features: turn a high-cardinality text column into a clean 20-class categorical feature.

Quick start

import pandas as pd

# Load directly from the Hub
df = pd.read_parquet(
    "hf://datasets/NacerKr/colors-normalized/data/colors_normalized.parquet"
)

# Build a normalization lookup: messy name -> base color
lookup = df.set_index(["name", "language"])["base_color"]
lookup.loc[("rouge", "fr")]      # 'red'
lookup.loc[("burgundy", "en")]   # 'brown'

Or with the datasets library:

from datasets import load_dataset

ds = load_dataset("NacerKr/colors-normalized", split="train")

Names in the dataset are lowercased and whitespace-normalized — apply .str.strip().str.lower() (and collapse inner whitespace) to your raw color values before joining.

Schema

Column Type Description
name string Color name, lowercased and whitespace-normalized
hex string Hex code of the named color, uppercase #RRGGBB
language string en or fr
source string color-names, color-pedia, or french-gist
base_color string Assigned base palette color (one of 20 labels)
base_hex string Hex code of the assigned base color
delta_e float32 CIEDE2000 distance between hex and base_hex (0 = exact)

38,112 rows — 37,877 English, 235 French. Median ΔE₀₀ to the assigned base color is 12.4 (p90 = 19.6). Unique on (name, language).

Base palette (20 labels)

The palette is the basic palette from colorjs/color-namer (MIT), minus fuchsia, which is an exact duplicate of magenta (#FF00FF).

Label Hex Label Hex
black #000000 tan #D2B48C
blue #0000FF violet #EE82EE
cyan #00FFFF beige #F5F5DC
green #008000 gold #FFD700
teal #008080 magenta #FF00FF
turquoise #40E0D0 orange #FFA500
indigo #4B0082 pink #FFC0CB
gray #808080 red #FF0000
purple #800080 white #FFFFFF
brown #A52A2A yellow #FFFF00

Methodology

  1. Merge three permissively-licensed color-name sources (below) into (name, hex) pairs tagged with language and source.
  2. Clean: lowercase and whitespace-normalize names; validate and normalize hex to uppercase #RRGGBB; drop junk names that embed raw hex codes (~15k generation artifacts in color-pedia); deduplicate on (name, language) with source priority color-namescolor-pediafrench-gist.
  3. Assign: convert every hex and the 20 palette anchors from sRGB to CIELAB (D65 white point), compute the full N×20 CIEDE2000 distance matrix in one vectorized numpy pass, and take the argmin. The CIEDE2000 implementation is validated against the Sharma et al. (2005) published test pairs.

Sources & attribution

Source Contribution License
boltuix/color-pedia English color names + hex MIT
BatteRaquette58/color-names (derived from meodai/color-names) English color names + hex MIT
angelodlfrtr's french_colors.json gist French color names + hex not stated (attribution given)
colorjs/color-namer 20-label base palette MIT

The EPFL Multi-lingual Color Thesaurus was evaluated as an additional French source but deliberately excluded: its CC BY-NC-SA 3.0 license (non-commercial) is incompatible with commercial use.

Limitations

  • Nearest-anchor artifacts: assignment is purely geometric against 20 fixed anchor points. A few results differ from human intuition — e.g. navy blue (#000080) lands on indigo rather than blue, and some saturated pinks land on violet/magenta because the pink anchor (#FFC0CB) is very pale. Use delta_e as a confidence signal (larger = less certain).
  • French coverage is small (235 names) relative to English.
  • Names are lowercased; match case-insensitively against your raw data.

License

Released under the MIT License.

Downloads last month
20