Converting Colors

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

Conversions

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

FormatColor
HSL4°, 1%, 52%
CIELCh55, 0.708, 24.828
Yxy23.3472, 0.3149, 0.3292
Android (android.graphics.Color)4287005828 (0xFF868484)
YUV132.5980, -0.2948, 1.2296

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


Details

The XYZ color 22.3301, 23.3472, 25.2374 is a dark color, and the websafe version is hex 999999. A complement of this color would be 22.3872, 23.6983, 25.9963, and the grayscale version is 22.2463, 23.4049, 25.4879.

A 20% lighter version of the original color is 46.5994, 48.7655, 52.8556, and 8.3107, 8.6959, 9.4241 is the 20% darker color. If you saturate the color by 10%, you get 19.8687, 19.8029, 20.1667, and if you desaturate by 10%, it is 25.1142, 27.3474, 30.9989.

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 22.3301, 23.3472, 25.2374 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%.22.3301, 23.3472, 25.2374The Color 22.3301, 23.3472, 25.2374.256.8654, 269.5033, 292.5036The Color 256.8654, 269.5033, 292.5036.212.0641, 222.4570, 241.3911The Color 212.0641, 222.4570, 241.3911.172.8007, 181.2316, 196.6092The Color 172.8007, 181.2316, 196.6092.138.7099, 145.4426, 157.7395The Color 138.7099, 145.4426, 157.7395.109.4264, 114.7056, 124.3633The Color 109.4264, 114.7056, 124.3633.84.5848, 88.6362, 96.0622The Color 84.5848, 88.6362, 96.0622.63.8197, 66.8501, 72.4176The Color 63.8197, 66.8501, 72.4176.46.7658, 48.9628, 53.0110The Color 46.7658, 48.9628, 53.0110.33.0577, 34.5900, 37.4238The Color 33.0577, 34.5900, 37.4238.22.3301, 23.3472, 25.2374The Color 22.3301, 23.3472, 25.2374.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%.22.3301, 23.3472, 25.2374The Color 22.3301, 23.3472, 25.2374.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.5869, 0.6009, 0.6335The Color 0.5869, 0.6009, 0.6335.1.9173, 1.9888, 2.1300The Color 1.9173, 1.9888, 2.1300.4.3766, 4.5553, 4.8982The Color 4.3766, 4.5553, 4.8982.8.3549, 8.7142, 9.3932The Color 8.3549, 8.7142, 9.3932.14.2176, 14.8501, 16.0334The Color 14.2176, 14.8501, 16.0334.22.3301, 23.3472, 25.2374The Color 22.3301, 23.3472, 25.2374.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the XYZ color 22.3301, 23.3472, 25.2374 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.22.3301, 23.3472, 25.2374The Color 22.3301, 23.3472, 25.2374.10.1632, 5.5994, 0.8772The Color 10.1632, 5.5994, 0.8772.10.5529, 6.2008, 1.5555The Color 10.5529, 6.2008, 1.5555.11.1401, 7.0864, 2.6422The Color 11.1401, 7.0864, 2.6422.11.9468, 8.2856, 4.1878The Color 11.9468, 8.2856, 4.1878.12.9917, 9.8240, 6.2358The Color 12.9917, 9.8240, 6.2358.14.2916, 11.7247, 8.8244The Color 14.2916, 11.7247, 8.8244.15.8618, 14.0086, 11.9884The Color 15.8618, 14.0086, 11.9884.17.7165, 16.6953, 15.7593The Color 17.7165, 16.6953, 15.7593.19.8687, 19.8029, 20.1667The Color 19.8687, 19.8029, 20.1667.22.3301, 23.3472, 25.2374The Color 22.3301, 23.3472, 25.2374.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.22.3301, 23.3472, 25.2374The Color 22.3301, 23.3472, 25.2374.60.1779, 77.3791, 104.6389The Color 60.1779, 77.3791, 104.6389.54.4641, 69.2509, 92.5630The Color 54.4641, 69.2509, 92.5630.49.1480, 61.6824, 81.3460The Color 49.1480, 61.6824, 81.3460.44.2212, 54.6620, 70.9692The Color 44.2212, 54.6620, 70.9692.39.6751, 48.1778, 61.4138The Color 39.6751, 48.1778, 61.4138.35.5008, 42.2173, 52.6599The Color 35.5008, 42.2173, 52.6599.31.6890, 36.7677, 44.6872The Color 31.6890, 36.7677, 44.6872.28.2302, 31.8157, 37.4743The Color 28.2302, 31.8157, 37.4743.25.1142, 27.3474, 30.9989The Color 25.1142, 27.3474, 30.9989.22.3301, 23.3472, 25.2374The Color 22.3301, 23.3472, 25.2374.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.22.3437, 23.3472, 25.4607The Color 22.3437, 23.3472, 25.4607.22.2792, 23.3472, 25.0643The Color 22.2792, 23.3472, 25.0643.22.3301, 23.3472, 25.2374The Color 22.3301, 23.3472, 25.2374.22.3437, 23.3472, 25.4607The Color 22.3437, 23.3472, 25.4607.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.22.3301, 23.3472, 25.2374The Color 22.3301, 23.3472, 25.2374.22.1770, 23.3472, 25.8605The Color 22.1770, 23.3472, 25.8605.22.0659, 23.3472, 25.1693The Color 22.0659, 23.3472, 25.1693.22.3301, 23.3472, 25.2374The Color 22.3301, 23.3472, 25.2374.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.22.3301, 23.3472, 25.2374The Color 22.3301, 23.3472, 25.2374.22.3872, 23.6983, 25.9963The Color 22.3872, 23.6983, 25.9963.22.3301, 23.3472, 25.2374The Color 22.3301, 23.3472, 25.2374.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.22.1027, 23.3472, 25.7814The Color 22.1027, 23.3472, 25.7814.22.0386, 23.3472, 25.3816The Color 22.0386, 23.3472, 25.3816.22.3301, 23.3472, 25.2374The Color 22.3301, 23.3472, 25.2374.22.1027, 23.3472, 25.7814The Color 22.1027, 23.3472, 25.7814.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.22.3301, 23.3472, 25.2374The Color 22.3301, 23.3472, 25.2374.22.2552, 23.3472, 25.8213The Color 22.2552, 23.3472, 25.8213.22.0521, 23.3472, 25.6058The Color 22.0521, 23.3472, 25.6058.22.1266, 23.3472, 25.0251The Color 22.1266, 23.3472, 25.0251.22.3301, 23.3472, 25.2374The Color 22.3301, 23.3472, 25.2374.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.22.3301, 23.3472, 25.2374The Color 22.3301, 23.3472, 25.2374.22.1508, 23.3472, 25.8468The Color 22.1508, 23.3472, 25.8468.22.0521, 23.3472, 25.6058The Color 22.0521, 23.3472, 25.6058.22.2309, 23.3472, 25.0001The Color 22.2309, 23.3472, 25.0001.22.3301, 23.3472, 25.2374The Color 22.3301, 23.3472, 25.2374.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.22.3308, 23.3482, 25.2379The Color 22.3308, 23.3482, 25.2379.64.0503, 67.3860, 73.3833The Color 64.0503, 67.3860, 73.3833.8.9945, 9.4630, 10.3052The Color 8.9945, 9.4630, 10.3052.22.4365, 23.3622, 25.8822The Color 22.4365, 23.3622, 25.8822.39.9242, 42.0033, 45.7416The Color 39.9242, 42.0033, 45.7416.22.3308, 23.3482, 25.2379The Color 22.3308, 23.3482, 25.2379.Sweetspot

SVG Images

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

#868484

Previews

White Background

This preview shows how the XYZ color 22.3301, 23.3472, 25.2374 looks on a white background.

The color contrast ratio for these colors is 3.72, which passes the AA 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 22.3301, 23.3472, 25.2374 looks on a black background.

The color contrast ratio for these colors is 5.65, 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 22.3301, 23.3472, 25.2374 Background

This preview shows how black text looks on a background with the XYZ color 22.3301, 23.3472, 25.2374.

This preview shows how white text looks on a background with the XYZ color 22.3301, 23.3472, 25.2374.


CSS Examples


The CSS property to change the color of the text to XYZ 22.3301, 23.3472, 25.2374 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(134, 132, 132) }.

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

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

Here you see how black text with a 4 pixel rgb(134, 132, 132) 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 22.3301, 23.3472, 25.2374 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(134, 132, 132) }.

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

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

Background

The CSS property to change the background color of an element to XYZ 22.3301, 23.3472, 25.2374 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(134, 132, 132) }.

If only the background color should be changed .background{ background-color:rgb(134, 132, 132) } 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, "868484", 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 "4°, 1%, 53%" 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(4°, 1%, 53%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(55.43, 0.64, 0.30)", "CIELCH(55, 0.708, 24.828)", "YXY(23.3472, 0.3149, 0.3292)" and "CMYK(0.00, 0.01, 0.01, 0.47)".