Converting Colors

Conversions · Details · Harmonies · Images · Preview · CSS · Help

Conversions

New: Converting Colors offers a new tool to do mass color conversions.

FormatColor
HSL10°, 24%, 48%
CIELCh49, 23.067, 36.499
Yxy17.3849, 0.3992, 0.3463
Android (android.graphics.Color)4288243806 (0xFF99685E)
YUV117.5110, -11.5909, 31.1239

Get Conversions and Harmonies as JSON or XML via the REST API.


Details

The XYZ color 20.0415, 17.3849, 12.7717 is a dark color, and the websafe version is hex 996666. A complement of this color would be 20.1268, 24.2772, 33.7620, and the grayscale version is 16.9986, 17.8839, 19.4755.

A 20% lighter version of the original color is 43.0499, 39.0116, 31.6466, and 7.2032, 5.7511, 3.5267 is the 20% darker color. If you saturate the color by 10%, you get 18.2482, 14.7833, 9.1372, and if you desaturate by 10%, it is 22.1642, 20.4277, 17.1866.

Distribution

RGB Color DistributionThe distribution of the RGB values, red, green and blue.RedThe Perecentage of Red in the Color.GreenThe Perecentage of Green in the Color.BlueThe Perecentage of Blue in the Color.RGB
RYB Color DistributionThe distribution of the RYB values, red, yellow and blue.RedThe Perecentage of Red in the Color.YellowThe Perecentage of Yellow in the Color.BlueThe Perecentage of Blue in the Color.RYB
CMYK Color DistributionThe distribution of the CMYK values, Cyan, Magenta, Yellow and Black.CyanThe Perecentage of Cyan in the Color.MagentaThe Perecentage of Magenta in the Color.YellowThe Perecentage of Yellow in the Color.BlackThe Perecentage of Black in the Color.CMYK
CMY Color DistributionThe distribution of the CMY values, Cyan, Magenta, Yellow.CyanThe Perecentage of Cyan in the Color.MagentaThe Perecentage of Magenta in the Color.YellowThe Perecentage of Yellow in the Color.CMY

Brightness Gradient

These gradients show how the XYZ color 20.0415, 17.3849, 12.7717 changes by changing the brightness by 10 percent. The first figure shows a shift by +10% for each color and the second figure -10%.

Brightness GradientThese gradients show how the {format} color {color} changes by changing the brightness by 10 percent. The first figure shows a shift by +10% for each color and the second figure -10%.20.0415, 17.3849, 12.7717The Color 20.0415, 17.3849, 12.7717.244.9690, 237.3808, 220.6055The Color 244.9690, 237.3808, 220.6055.201.6055, 194.2694, 178.5195The Color 201.6055, 194.2694, 178.5195.163.6874, 156.7217, 142.1584The Color 163.6874, 156.7217, 142.1584.130.8493, 124.3534, 111.1037The Color 130.8493, 124.3534, 111.1037.102.7259, 96.7802, 84.9369The Color 102.7259, 96.7802, 84.9369.78.9518, 73.6175, 63.2394The Color 78.9518, 73.6175, 63.2394.59.1617, 54.4810, 45.5927The Color 59.1617, 54.4810, 45.5927.42.9902, 38.9864, 31.5782The Color 42.9902, 38.9864, 31.5782.30.0719, 26.7491, 20.7774The Color 30.0719, 26.7491, 20.7774.20.0415, 17.3849, 12.7717The Color 20.0415, 17.3849, 12.7717.Brightness Gradient
Brightness GradientThese gradients show how the {format} color {color} changes by changing the brightness by 10 percent. The first figure shows a shift by +10% for each color and the second figure -10%.20.0415, 17.3849, 12.7717The Color 20.0415, 17.3849, 12.7717.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.3202, 0.0000, 0.0000The Color 0.3202, 0.0000, 0.0000.1.4918, 0.9703, 0.0944The Color 1.4918, 0.9703, 0.0944.3.6241, 2.6864, 1.3402The Color 3.6241, 2.6864, 1.3402.7.1830, 5.7379, 3.4717The Color 7.1830, 5.7379, 3.4717.12.5337, 10.5093, 7.1427The Color 12.5337, 10.5093, 7.1427.20.0415, 17.3849, 12.7717The Color 20.0415, 17.3849, 12.7717.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the XYZ color 20.0415, 17.3849, 12.7717 by changing the saturation by 10% instead.

Saturation GradientSimilar to the brightness gradients but the following show a change of the {format} color {color} by changing the saturation by 10% instead.20.0415, 17.3849, 12.7717The Color 20.0415, 17.3849, 12.7717.13.5038, 7.5063, 0.7371The Color 13.5038, 7.5063, 0.7371.13.5451, 7.5740, 0.7969The Color 13.5451, 7.5740, 0.7969.13.9973, 8.3314, 1.4007The Color 13.9973, 8.3314, 1.4007.14.6623, 9.3996, 2.4296The Color 14.6623, 9.3996, 2.4296.15.5776, 10.8134, 4.0195The Color 15.5776, 10.8134, 4.0195.16.7662, 12.5999, 6.2365The Color 16.7662, 12.5999, 6.2365.18.2482, 14.7833, 9.1372The Color 18.2482, 14.7833, 9.1372.20.0415, 17.3849, 12.7717The Color 20.0415, 17.3849, 12.7717.Saturation Gradient
Saturation GradientSimilar to the brightness gradients but the following show a change of the {format} color {color} by changing the saturation by 10% instead.20.0415, 17.3849, 12.7717The Color 20.0415, 17.3849, 12.7717.52.6515, 62.6783, 85.0728The Color 52.6515, 62.6783, 85.0728.47.4110, 55.5099, 73.1138The Color 47.4110, 55.5099, 73.1138.42.6019, 48.9094, 62.2073The Color 42.6019, 48.9094, 62.2073.38.2132, 42.8633, 52.3248The Color 38.2132, 42.8633, 52.3248.34.2338, 37.3572, 43.4368The Color 34.2338, 37.3572, 43.4368.30.6519, 32.3764, 35.5124The Color 30.6519, 32.3764, 35.5124.27.4550, 27.9055, 28.5191The Color 27.4550, 27.9055, 28.5191.24.6303, 23.9283, 22.4226The Color 24.6303, 23.9283, 22.4226.22.1642, 20.4277, 17.1866The Color 22.1642, 20.4277, 17.1866.20.0415, 17.3849, 12.7717The Color 20.0415, 17.3849, 12.7717.Saturation Gradient

Harmonies

Analogous

The analogous color harmony consists of three colors that are next to each other on the color wheel.

AnalogousThe analogous color harmony consists of three colors that are next to each other on the color wheel.20.9387, 17.3849, 17.6317The Color 20.9387, 17.3849, 17.6317.18.2122, 17.3849, 10.0779The Color 18.2122, 17.3849, 10.0779.20.0415, 17.3849, 12.7717The Color 20.0415, 17.3849, 12.7717.20.9387, 17.3849, 17.6317The Color 20.9387, 17.3849, 17.6317.Analogous

Triad

The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel.

TriadThe triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel.20.0415, 17.3849, 12.7717The Color 20.0415, 17.3849, 12.7717.16.9920, 17.3849, 33.1471The Color 16.9920, 17.3849, 33.1471.13.0437, 17.3849, 14.6247The Color 13.0437, 17.3849, 14.6247.20.0415, 17.3849, 12.7717The Color 20.0415, 17.3849, 12.7717.Triad

Complementary

The complementary color scheme is a pair of colors which are on the opposite of each other on the color wheel.

ComplementaryThe complementary color scheme is a pair of colors which are on the opposite of each other on the color wheel.20.0415, 17.3849, 12.7717The Color 20.0415, 17.3849, 12.7717.20.1268, 24.2772, 33.7620The Color 20.1268, 24.2772, 33.7620.20.0415, 17.3849, 12.7717The Color 20.0415, 17.3849, 12.7717.Complementary

Split Complementary

Split-complementary colors differ from the complementary color scheme. The scheme consists of three colors, the original color and two neighbors of the complement color.

Split ComplementarySplit-complementary colors differ from the complementary color scheme. The scheme consists of three colors, the original color and two neighbors of the complement color.14.9431, 17.3849, 31.8596The Color 14.9431, 17.3849, 31.8596.12.7777, 17.3849, 20.2889The Color 12.7777, 17.3849, 20.2889.20.0415, 17.3849, 12.7717The Color 20.0415, 17.3849, 12.7717.14.9431, 17.3849, 31.8596The Color 14.9431, 17.3849, 31.8596.Split Complementary

Square

The square scheme is like the rectangle color scheme, but the four colors are evenly spaced on the color wheel.

SquareThe square scheme is like the rectangle color scheme, but the four colors are evenly spaced on the color wheel.20.0415, 17.3849, 12.7717The Color 20.0415, 17.3849, 12.7717.19.0830, 17.3849, 30.0167The Color 19.0830, 17.3849, 30.0167.13.4439, 17.3849, 26.8028The Color 13.4439, 17.3849, 26.8028.14.2044, 17.3849, 10.9759The Color 14.2044, 17.3849, 10.9759.20.0415, 17.3849, 12.7717The Color 20.0415, 17.3849, 12.7717.Square

Rectangle

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

RectangleThe rectangle color scheme consists of four colors that form a rectangle on the color wheel.20.0415, 17.3849, 12.7717The Color 20.0415, 17.3849, 12.7717.16.2749, 17.3849, 33.2249The Color 16.2749, 17.3849, 33.2249.13.4439, 17.3849, 26.8028The Color 13.4439, 17.3849, 26.8028.16.7753, 17.3849, 9.4657The Color 16.7753, 17.3849, 9.4657.20.0415, 17.3849, 12.7717The Color 20.0415, 17.3849, 12.7717.Rectangle

Sweetspot

The sweet spot groups the original color and five complimentary colors.

SweetspotThe sweet spot groups the original color and five complimentary colors.20.0419, 17.3857, 12.7720The Color 20.0419, 17.3857, 12.7720.11.9732, 12.5967, 13.7178The Color 11.9732, 12.5967, 13.7178.72.9764, 76.7769, 83.6100The Color 72.9764, 76.7769, 83.6100.10.3358, 10.3026, 10.1484The Color 10.3358, 10.3026, 10.1484.22.0594, 16.6748, 28.0755The Color 22.0594, 16.6748, 28.0755.47.4021, 47.4936, 47.2427The Color 47.4021, 47.4936, 47.2427.20.0419, 17.3857, 12.7720The Color 20.0419, 17.3857, 12.7720.Sweetspot

SVG Images

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

#99685E

Previews

White Background

This preview shows how the XYZ color 20.0415, 17.3849, 12.7717 looks on a white background.

The color contrast ratio for these colors is 4.67, which passes the AA level of the Web Content Accessibility Guidelines (WCAG) 2.0 for any text size and the AAA level for large text above 18pt. Details can be found at https://www.w3.org/TR/WCAG20/.

Black Background

This preview shows how the XYZ color 20.0415, 17.3849, 12.7717 looks on a black background.

The color contrast ratio for these colors is 4.50, which passes the AA level of the Web Content Accessibility Guidelines (WCAG) 2.0 for any text size and the AAA level for large text above 18pt. Details can be found at https://www.w3.org/TR/WCAG20/.

XYZ 20.0415, 17.3849, 12.7717 Background

This preview shows how black text looks on a background with the XYZ color 20.0415, 17.3849, 12.7717.

This preview shows how white text looks on a background with the XYZ color 20.0415, 17.3849, 12.7717.


CSS Examples


The CSS property to change the color of the text to XYZ 20.0415, 17.3849, 12.7717 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(153, 104, 94) }.

This example shows how text in the color rgb(153, 104, 94) looks like.

If you want to add a text shadow in that color use .shadow{ text-shadow: 4px 4px 2px rgb(153, 104, 94) }.

Here you see how black text with a 4 pixel rgb(153, 104, 94) 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 an element to XYZ 20.0415, 17.3849, 12.7717 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(153, 104, 94) }.

If only the border color should be changed .border{ border-color:rgb(153, 104, 94) } can be used.

Here you see how a box with a 4 pixel rgb(153, 104, 94) 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(153, 104, 94); -webkit-box-shadow:4px 4px 4px 4px rgb(153, 104, 94); box-shadow:4px 4px 4px 4px rgb(153, 104, 94) }.

Background

The CSS property to change the background color of an element to XYZ 20.0415, 17.3849, 12.7717 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(153, 104, 94) }.

If only the background color should be changed .background{ background-color:rgb(153, 104, 94) } 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. If you want to create a linear gradient as background or border, check our CSS Gradient Generator.

Upskill your career and get 10% off on a Udacity Nanodegrees ProgramAdvertisment🛈

How-to use Converting Colors

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

Some color formats use the same notation, and the conversion will guess the composition of the search query. As an example, if you try to convert the string "10°, 39%, 60%" it could be an 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(10°, 39%, 60%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(48.74, 18.54, 13.72)", "CIELCH(49, 23.067, 36.499)", "YXY(17.3849, 0.3992, 0.3463)" and "CMYK(0.00, 0.32, 0.39, 0.40)".