home

Find

This box lets you ask for a color by typing its name or its code. You can type an english or a french color name, a code (CSS, RAL, RGB, HLS, CMY, CMYK). You can also use this box to get a given color map. There are many supported syntaxes. See tables below.

Note that on some browsers (Mozilla, Netcape, Firfox), you can add colordb as a search engine.

Giving a RGB hexadecimal code

As this is a very common way to designate a color, many syntaxes are supported:

SyntaxExampleMeaning
#x #C The character is repeated 6 times: CCCCCC
#xx #80 The two-character pattern is repeated 3 times: 808080
xxx
#xxx
ad7 Each single character is duplicated: AADD77
#xxxx #c055 The pattern is right padded with 2 zeros: C05500
#xxxxx #AA009 The pattern is right padded with a zero: AA0090
xxxxxx
#xxxxxx
AF00DD This is a well-formed hexa code, so nothing special is done on it: AF00DD

You can prefix all these patterns with the string "rgb:". Ex: "rgb:#c08". Finally, note that the sharp symbol "#" is not required for hexa code of 3 or 6 characters.

Giving values for each channel

You can use numbers to set each color channel value. these values can be:

Value typeRangeExamples
integerbetween 0 and 255128 , 255
floatbetween 0 and 10.2 , 1.0
integer+"%"percentage between 0 and 10080% , 23%
integer+"°"angle between 0 and 35960° , 239°

Take care: a value of "1" is interpreted as an integer value. Therefore, it is considered as a value of 1 in the range 0-255. To specify a value of 1 as a float, you need to write "1.0". Moreover, note that even if using the angle unit (with a degree sign) is only relevant when specifying a hue, it is correctly handled for any color channel (then, setting a red value to "90°" is understoden as 25%).

These ways of specifying a value can be used to set any color channel in RGB, HLS, CMY or CMYK models. Note that it is not necessary to use the same unit for all channels. You can define a RGB by giving the red value in percentage, the green value between 0 and 255, and a blue value as a float. The only interesting case is when you set a HLS color: you can use the angle unit for the hue and percentages for he other two channels.

SyntaxExampleMeaning
rgb:R,V,B rgb:255,255,128 Find a color by its RGB (red, green and blue) channels values.
hls:H,L,S hls:60°,68%,50% Find a color by its HLS (hue, lightness and saturation) channels values.
cmy:C,M,Y cmy: 0.2, 0.9, 0.9 Find a color by its CMY (cyan, magenta and yellow) channels values.
cmyk:C,M,Y,K cmyk: 20%, 90%, 86%, 40% Find a color by its CMYK (cyan, magenta, yellow and black) channels values.

Giving a color code

colordb is connected to a light database in which color codes are store: CSS, and RAL ones.

SyntaxExamplesMeaning
css:nom css:fuchsia
css: indianred
Find a color by its CSS name.
ral:code ral:3012 Find a color by its RAL code (Classic RAL, four digits).

RAL colors are not designed for screens. Thus do not rely on their RGB nor CMYK equvalence, and note that the displayed colors are for information only.

Giving a "natural" name

You can also ask for a color by entering its name in english or french: the most common names are known. Using the wildcard "*" (star), you can give only a part of the name. If more than one color name matchs, they will be listed.

Examples:

When more than one color name is found, a list will be displayed under the Find box form:

Buttons let you go to the previous page , the next page , and the button will clear the results list.

Display a color map

You can use the find box input to ask for a colormap:

SyntaxExampleMeaning
h:Hh:50° Display a color map at constant hue.
l:Ll:128 Display a color map at constant lightness.
s:Ss:80% Display a color map at constant saturation.
r:Rr:0 Display a color map at constant red level.
g:Gg:0.2 Display a color map at constant green level.
b:Bb:255 Display a color map at constant blue level.
c:Cc:50% Display a color map at constant cyan level.
m:Mm:66 Display a color map at constant magenta level.
y:Yy:94% Display a color map at constant yellow level.
k:k: Display a gray scale (no parameter required).

Take care ! Asking for a color map will unlink the Colormap box !

Adding colordb to your browser

Some browsers like Mozilla, Firefox or Netscape have a search bar when you can type a text, choose a search engine, and get the answer. For example, Firefox has searchs for Google, Amazon, eBay...

By clicking the button in the Find box, you will add colordbto this list of search engine. Then colordb will be available directly and you can type in the search bar the way you do in the Find box:

Any syntax as described above is available.

Tip: before you add colordb search engine to your browser, choose in colordb the required language and layout, because these settings will be memorized.