Converting Colors

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

Conversions

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

FormatColor
HSL121°, 0%, 67%
CIELCh70, 0.009, 296.693
Yxy41.2543, 0.3127, 0.3290
Android (android.graphics.Color)4289506476 (0xFFACACAC)
YUV172.0000, 0.0000, 0.0000

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


Details

The XYZ color 39.2122, 41.2543, 44.9259 is a light color, and the websafe version is hex 999999, and the color name is silver chalice. A complement of this color would be 39.2137, 41.2554, 44.9282, and the grayscale version is 39.2137, 41.2559, 44.9276.

A 20% lighter version of the original color is 73.0128, 76.8151, 83.6517, and 17.8524, 18.7821, 20.4537 is the 20% darker color. If you saturate the color by 10%, you get 34.1560, 38.8249, 36.7405, and if you desaturate by 10%, it is 44.9663, 44.0219, 54.2256.

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 39.2122, 41.2543, 44.9259 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%.39.2122, 41.2543, 44.9259The Color 39.2122, 41.2543, 44.9259.333.9835, 351.3823, 382.6247The Color 333.9835, 351.3823, 382.6247.280.3297, 294.9332, 321.1580The Color 280.3297, 294.9332, 321.1580.232.7537, 244.8785, 266.6540The Color 232.7537, 244.8785, 266.6540.190.8903, 200.8341, 218.6942The Color 190.8903, 200.8341, 218.6942.154.3740, 162.4153, 176.8601The Color 154.3740, 162.4153, 176.8601.122.8394, 129.2380, 140.7331The Color 122.8394, 129.2380, 140.7331.95.9214, 100.9176, 109.8948The Color 95.9214, 100.9176, 109.8948.73.2544, 77.0698, 83.9265The Color 73.2544, 77.0698, 83.9265.54.4731, 57.3101, 62.4097The Color 54.4731, 57.3101, 62.4097.39.2122, 41.2543, 44.9259The Color 39.2122, 41.2543, 44.9259.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%.39.2122, 41.2543, 44.9259The Color 39.2122, 41.2543, 44.9259.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.0373, 0.0392, 0.0432The Color 0.0373, 0.0392, 0.0432.1.1146, 1.1726, 1.2774The Color 1.1146, 1.1726, 1.2774.2.9258, 3.0780, 3.3527The Color 2.9258, 3.0780, 3.3527.6.0652, 6.3809, 6.9497The Color 6.0652, 6.3809, 6.9497.10.8982, 11.4655, 12.4870The Color 10.8982, 11.4655, 12.4870.17.7901, 18.7164, 20.3831The Color 17.7901, 18.7164, 20.3831.27.1063, 28.5178, 31.0565The Color 27.1063, 28.5178, 31.0565.39.2122, 41.2543, 44.9259The Color 39.2122, 41.2543, 44.9259.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the XYZ color 39.2122, 41.2543, 44.9259 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.39.2122, 41.2543, 44.9259The Color 39.2122, 41.2543, 44.9259.15.1120, 29.6772, 5.5813The Color 15.1120, 29.6772, 5.5813.15.7547, 29.9850, 6.6792The Color 15.7547, 29.9850, 6.6792.16.8048, 30.4885, 8.4367The Color 16.8048, 30.4885, 8.4367.18.3144, 31.2129, 10.9352The Color 18.3144, 31.2129, 10.9352.20.3281, 32.1799, 14.2446The Color 20.3281, 32.1799, 14.2446.22.8851, 33.4082, 18.4263The Color 22.8851, 33.4082, 18.4263.26.0209, 34.9149, 23.5361The Color 26.0209, 34.9149, 23.5361.29.7679, 36.7157, 29.6250The Color 29.7679, 36.7157, 29.6250.34.1560, 38.8249, 36.7405The Color 34.1560, 38.8249, 36.7405.39.2122, 41.2543, 44.9259The Color 39.2122, 41.2543, 44.9259.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.39.2122, 41.2543, 44.9259The Color 39.2122, 41.2543, 44.9259.74.0433, 57.9867, 101.8978The Color 74.0433, 57.9867, 101.8978.66.6417, 54.4448, 89.1819The Color 66.6417, 54.4448, 89.1819.58.6572, 50.6051, 76.3164The Color 58.6572, 50.6051, 76.3164.51.4396, 47.1345, 64.6763The Color 51.4396, 47.1345, 64.6763.44.9663, 44.0219, 54.2256The Color 44.9663, 44.0219, 54.2256.39.2122, 41.2543, 44.9259The Color 39.2122, 41.2543, 44.9259.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.39.2108, 41.2543, 44.9267The Color 39.2108, 41.2543, 44.9267.39.2133, 41.2543, 44.9232The Color 39.2133, 41.2543, 44.9232.39.2122, 41.2543, 44.9259The Color 39.2122, 41.2543, 44.9259.39.2108, 41.2543, 44.9267The Color 39.2108, 41.2543, 44.9267.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.39.2122, 41.2543, 44.9259The Color 39.2122, 41.2543, 44.9259.39.2083, 41.2543, 44.9185The Color 39.2083, 41.2543, 44.9185.39.2125, 41.2543, 44.9124The Color 39.2125, 41.2543, 44.9124.39.2122, 41.2543, 44.9259The Color 39.2122, 41.2543, 44.9259.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.39.2122, 41.2543, 44.9259The Color 39.2122, 41.2543, 44.9259.39.2137, 41.2554, 44.9282The Color 39.2137, 41.2554, 44.9282.39.2122, 41.2543, 44.9259The Color 39.2122, 41.2543, 44.9259.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.39.2087, 41.2543, 44.9146The Color 39.2087, 41.2543, 44.9146.39.2111, 41.2543, 44.9111The Color 39.2111, 41.2543, 44.9111.39.2122, 41.2543, 44.9259The Color 39.2122, 41.2543, 44.9259.39.2087, 41.2543, 44.9146The Color 39.2087, 41.2543, 44.9146.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.39.2122, 41.2543, 44.9259The Color 39.2122, 41.2543, 44.9259.39.2085, 41.2543, 44.9224The Color 39.2085, 41.2543, 44.9224.39.2097, 41.2543, 44.9119The Color 39.2097, 41.2543, 44.9119.39.2134, 41.2543, 44.9154The Color 39.2134, 41.2543, 44.9154.39.2122, 41.2543, 44.9259The Color 39.2122, 41.2543, 44.9259.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.39.2122, 41.2543, 44.9259The Color 39.2122, 41.2543, 44.9259.39.2083, 41.2543, 44.9171The Color 39.2083, 41.2543, 44.9171.39.2097, 41.2543, 44.9119The Color 39.2097, 41.2543, 44.9119.39.2136, 41.2543, 44.9207The Color 39.2136, 41.2543, 44.9207.39.2122, 41.2543, 44.9259The Color 39.2122, 41.2543, 44.9259.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.39.2134, 41.2561, 44.9268The Color 39.2134, 41.2561, 44.9268.82.5889, 86.8899, 94.6231The Color 82.5889, 86.8899, 94.6231.15.4596, 16.2647, 17.7123The Color 15.4596, 16.2647, 17.7123.39.2140, 41.2564, 44.9268The Color 39.2140, 41.2564, 44.9268.71.1368, 74.8414, 81.5023The Color 71.1368, 74.8414, 81.5023.39.2134, 41.2561, 44.9268The Color 39.2134, 41.2561, 44.9268.Sweetspot

SVG Images

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

#ACACAC

Previews

White Background

This preview shows how the XYZ color 39.2122, 41.2543, 44.9259 looks on a white background.

The color contrast ratio for these colors is 2.27, which fails to comply with the Web Content Accessibility Guidelines (WCAG) 2.0. Details can be found at https://www.w3.org/TR/WCAG20/.

Black Background

This preview shows how the XYZ color 39.2122, 41.2543, 44.9259 looks on a black background.

The color contrast ratio for these colors is 9.25, which passes the AAA level of the Web Content Accessibility Guidelines (WCAG) 2.0 for all text sizes. Details can be found at https://www.w3.org/TR/WCAG20/.

XYZ 39.2122, 41.2543, 44.9259 Background

This preview shows how black text looks on a background with the XYZ color 39.2122, 41.2543, 44.9259.

This preview shows how white text looks on a background with the XYZ color 39.2122, 41.2543, 44.9259.


CSS Examples


The CSS property to change the color of the text to XYZ 39.2122, 41.2543, 44.9259 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(172, 172, 172) }.

This example shows how text in the color rgb(172, 172, 172) looks like.

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

Here you see how black text with a 4 pixel rgb(172, 172, 172) 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 39.2122, 41.2543, 44.9259 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(172, 172, 172) }.

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

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

Background

The CSS property to change the background color of an element to XYZ 39.2122, 41.2543, 44.9259 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(172, 172, 172) }.

If only the background color should be changed .background{ background-color:rgb(172, 172, 172) } 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, "ACACAC", 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 "121°, 0%, 67%" 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(121°, 0%, 67%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(70.35, 0.00, -0.01)", "CIELCH(70, 0.009, 296.693)", "YXY(41.2543, 0.3127, 0.3290)" and "CMYK(0.00, 0.00, 0.00, 0.33)".