# Converting Colors

## Color Conversions

Get Conversions and Harmonies as JSON or XML.

## Color Details

The CIELCh color 81, 2.232, 43.820 can be considered as a light color, the websafe version is hex CCCCCC. A complement of this color would be 81, 2.232, 43.820 and the grayscale version is 81, 0.010, 296.813.

A 20% lighter version of the original color is 100, 2.232, 43.820 and 61, 2.232, 43.820 is the 20% darker color. If you saturate the color by 10% you get 77, 8.872, 43.708 and if you desaturate by 10% it is 86, 3.915, 224.678.

### Distribution

These gradients show how the CIELCh color 81, 2.232, 43.820 changes by changing the brightness by 10 percent. The first row shows a change by +10% for each color and the second row -10%.

 81, 2.232, 43.820 91, 2.232, 43.820 100, 2.232, 43.820
 81, 2.232, 43.820 71, 2.232, 43.820 61, 2.232, 43.820 51, 2.232, 43.820 41, 2.232, 43.820 31, 2.232, 43.820 21, 2.232, 43.820 11, 2.232, 43.820 1, 2.232, 43.820 0, 2.232, 43.820

Similar to the brightness gradients but the following show a change of the CIELCh color 81, 2.232, 43.820 by changing the saturation by 10% instead.

 81, 2.232, 43.820 77, 8.872, 43.708 72, 16.060, 43.473 68, 23.840, 43.340 64, 32.237, 43.350 60, 41.242, 43.533 56, 50.776, 43.899 53, 60.623, 44.406 50, 70.277, 44.883 47, 78.636, 44.880
 81, 2.232, 43.820 86, 3.915, 224.678 90, 9.622, 225.060 95, 14.188, 215.828 97, 16.385, 198.417

## Color Harmonies

### Rectangle

The rectangle color scheme consists of four colors that form a rectangle on the color wheel.

 81, 2.232, 43.820 81, 2.232, 93.820 81, 2.232, 223.820 81, 2.232, 273.820

### Sweetspot

The sweetspot groups the original color and five complimentary colors.

 81, 2.231, 43.878 99, 0.739, 43.360 81, 4.017, 331.865 53, 0.420, 43.317 0, 0.000, 0.000 53, 0.007, 296.813

## Color Images

A selection of SVG images using the hex version #CEC8C6 of the current color.

## Color Preview

### White Background

This preview shows how the CIELCh color 81, 2.232, 43.820 looks on a white background.

### Black Background

This preview shows how the CIELCh color 81, 2.232, 43.820 looks on a black background.

### CIELCh 81, 2.232, 43.820 Background

This preview shows how black text looks on a background with the CIELCh color 81, 2.232, 43.820.

This preview shows how white text looks on a background with the CIELCh color 81, 2.232, 43.820.

## Color CSS

The css property to change the color of a text to CIELCh 81, 2.232, 43.820 is called "color". The color property can be set on classes, ids or directly on the html element `.text, #text, p{ color:rgb(206, 200, 198) }`.

This example shows how text in the color rgb(206, 200, 198) looks like.

If you want to add a text shadow in that color use `.shadow{ text-shadow: 4px 4px 2px rgb(206, 200, 198) }`.

Here you see how black text with a 4 pixel rgb(206, 200, 198) colored shadow looks like.

### Border

This example shows the color as border, it can be applied via the css property "border" or "border-color".

The css property to change the border of a element to CIELCh 81, 2.232, 43.820 is called "border". The border property can be set on classes, ids or directly on the html element `.border, #border, table{ border:4px solid rgb(206, 200, 198) }`.

If only the border color should be changed `.border{ border-color:rgb(206, 200, 198) }` can be used.

Here you see how a box with a 4 pixel rgb(206, 200, 198) colored shadow looks like.

If you want to add a box shadow in that color use `.boxshadow{ -moz-box-shadow:4px 4px 4px 4px rgb(206, 200, 198); -webkit-box-shadow:4px 4px 4px 4px rgb(206, 200, 198); box-shadow:4px 4px 4px 4px rgb(206, 200, 198) }`.

### Background

The css property to change the background color of a element to CIELCh 81, 2.232, 43.820 is called "background". The background property can be set on classes, ids or directly on the html element `.background, #background, body{ background:rgb(206, 200, 198) }`.

If only the background color should be changed `.background{ background-color:rgb(206, 200, 198) }` can be used.

This example shows the color as background, it is applied via the css property "background".

To optimize and compress your css code you can use our online css compressor and optimizer based on csstidy.

## About Converting Colors

Converting Colors allows you to convert between 15 different color formats (hex, rgb, rgb percent, cmy, cmyk, hsv, hsl, cielab, cielch, xyz, yxy, ryb, android, decimal, yuv).

To convert paste a string in one of these color formats, for example "CEC8C6", into the input field and click on "Convert". The result will be shown in the section "Color Conversions", the following sections will provide you with further details on the color.

Some color formats use the same notation and the conversion will guess your format. As example if you try to convert the string "14°, 4%, 81%" it could be a HSV or HSL color, the conversion will assume HSL in this case.

As this could lead to wrong conversions you can define which format you are passing by wrapping your color string in brackets with the format in front. The search string "HSV(14°, 4%, 81%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(81, 1.610, 1.545)", "CIELCH(81, 2.232, 43.820)", "YXY(58.4711, 0.3183, 0.3311)" and "CMYK(0.00, 0.03, 0.04, 0.19)".