Converting Colors


Conversions · Details · Harmonies · Images · Preview · Color Blindness Simulation · CSS · Help

Conversions

Here you see your color converted to 15 different color formats like RGB, CMYK, HSV, HSL, CIELab, Android, Decimal, and YUV. 🎁 Convert multiple colors at once or get Conversions and Harmonies via the REST API.

Conversions Part 2
FormatColor
RYB128, 132, 135
Decimal8423303
CIELab55.81, -2.64, -0.92
CIELCh56, 2.793, 199.272
Yxy23.7280, 0.3048, 0.3290
Android (android.graphics.Color)4286613383 (0xFF808787)
YUV132.9070, 1.0318, -4.3034

Details

The XYZ color 21.9813, 23.7280, 26.4172 is a dark color, and the websafe version is hex 999999. A complement of this color would be 21.6402, 22.1649, 23.5607, and the grayscale version is 22.3095, 23.4713, 25.5603.

A 20% lighter version of the original color is 46.1164, 49.4210, 54.6856, and 8.1126, 8.8151, 9.8682 is the 20% darker color. If you saturate the color by 10%, you get 20.0816, 22.7494, 26.3274, and if you desaturate by 10%, it is 24.1534, 24.8484, 26.5207.

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 & Saturation Gradients

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

Similar to the brightness gradients but the following saturation gradients show a change of the XYZ color 21.9813, 23.7280, 26.4172 by changing the saturation by 10% instead.

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%.21.9813, 23.7280, 26.4172The Color 21.9813, 23.7280, 26.4172.255.0828, 271.4424, 298.4945The Color 255.0828, 271.4424, 298.4945.210.4955, 224.1636, 246.6644The Color 210.4955, 224.1636, 246.6644.171.4325, 182.7205, 201.2106The Color 171.4325, 182.7205, 201.2106.137.5284, 146.7286, 161.7148The Color 137.5284, 146.7286, 161.7148.108.4179, 115.8036, 127.7583The Color 108.4179, 115.8036, 127.7583.83.7356, 89.5611, 98.9226The Color 83.7356, 89.5611, 98.9226.63.1161, 67.6167, 74.7892The Color 63.1161, 67.6167, 74.7892.46.1942, 49.5860, 54.9396The Color 46.1942, 49.5860, 54.9396.32.6043, 35.0845, 38.9551The Color 32.6043, 35.0845, 38.9551.21.9813, 23.7280, 26.4172The Color 21.9813, 23.7280, 26.4172.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]21.9813, 23.7280, 26.4172The Color 21.9813, 23.7280, 26.4172.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.5474, 0.6437, 0.7653The Color 0.5474, 0.6437, 0.7653.1.8499, 2.0630, 2.3614The Color 1.8499, 2.0630, 2.3614.4.2593, 4.6839, 5.2981The Color 4.2593, 4.6839, 5.2981.8.1741, 8.9121, 10.0073The Color 8.1741, 8.9121, 10.0073.13.9597, 15.1320, 16.9075The Color 13.9597, 15.1320, 16.9075.21.9813, 23.7280, 26.4172The Color 21.9813, 23.7280, 26.4172.Brightness Gradient

🖌️ View as Color Bucket

Saturation GradientSimilar to the brightness gradients but the following saturation gradients show a change of the {format} color {color} by changing the saturation by 10% instead.21.9813, 23.7280, 26.4172The Color 21.9813, 23.7280, 26.4172.13.1565, 19.1796, 25.9922The Color 13.1565, 19.1796, 25.9922.13.3629, 19.2859, 26.0032The Color 13.3629, 19.2859, 26.0032.13.7166, 19.4683, 26.0212The Color 13.7166, 19.4683, 26.0212.14.2449, 19.7406, 26.0473The Color 14.2449, 19.7406, 26.0473.14.9661, 20.1124, 26.0824The Color 14.9661, 20.1124, 26.0824.15.8965, 20.5920, 26.1274The Color 15.8965, 20.5920, 26.1274.17.0506, 21.1869, 26.1828The Color 17.0506, 21.1869, 26.1828.18.4416, 21.9039, 26.2492The Color 18.4416, 21.9039, 26.2492.20.0816, 22.7494, 26.3274The Color 20.0816, 22.7494, 26.3274.21.9813, 23.7280, 26.4172The Color 21.9813, 23.7280, 26.4172.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]21.9813, 23.7280, 26.4172The Color 21.9813, 23.7280, 26.4172.52.3933, 39.4064, 27.8535The Color 52.3933, 39.4064, 27.8535.47.7283, 37.0015, 27.6338The Color 47.7283, 37.0015, 27.6338.43.4032, 34.7719, 27.4300The Color 43.4032, 34.7719, 27.4300.39.4107, 32.7136, 27.2417The Color 39.4107, 32.7136, 27.2417.35.7428, 30.8228, 27.0687The Color 35.7428, 30.8228, 27.0687.32.3917, 29.0953, 26.9105The Color 32.3917, 29.0953, 26.9105.29.3489, 27.5267, 26.7667The Color 29.3489, 27.5267, 26.7667.26.6058, 26.1126, 26.6369The Color 26.6058, 26.1126, 26.6369.24.1534, 24.8484, 26.5207The Color 24.1534, 24.8484, 26.5207.21.9813, 23.7280, 26.4172The Color 21.9813, 23.7280, 26.4172.Saturation Gradient

🖌️ View as Color Bucket

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.21.9582, 23.7280, 25.5116The Color 21.9582, 23.7280, 25.5116.22.1567, 23.7280, 27.1837The Color 22.1567, 23.7280, 27.1837.21.9813, 23.7280, 26.4172The Color 21.9813, 23.7280, 26.4172.21.9582, 23.7280, 25.5116The Color 21.9582, 23.7280, 25.5116.Analogous

🖌️ View as Color Bucket

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.21.9813, 23.7280, 26.4172The Color 21.9813, 23.7280, 26.4172.22.6666, 23.7280, 24.1555The Color 22.6666, 23.7280, 24.1555.23.0186, 23.7280, 26.9935The Color 23.0186, 23.7280, 26.9935.21.9813, 23.7280, 26.4172The Color 21.9813, 23.7280, 26.4172.Triad

🖌️ View as Color Bucket

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.21.9813, 23.7280, 26.4172The Color 21.9813, 23.7280, 26.4172.21.6402, 22.1649, 23.5607The Color 21.6402, 22.1649, 23.5607.21.9813, 23.7280, 26.4172The Color 21.9813, 23.7280, 26.4172.Complementary

🖌️ View as Color Bucket

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.9535, 23.7280, 24.5332The Color 22.9535, 23.7280, 24.5332.23.1580, 23.7280, 26.1626The Color 23.1580, 23.7280, 26.1626.21.9813, 23.7280, 26.4172The Color 21.9813, 23.7280, 26.4172.22.9535, 23.7280, 24.5332The Color 22.9535, 23.7280, 24.5332.Split Complementary

🖌️ View as Color Bucket

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.21.9813, 23.7280, 26.4172The Color 21.9813, 23.7280, 26.4172.22.3518, 23.7280, 24.2200The Color 22.3518, 23.7280, 24.2200.23.1340, 23.7280, 25.2629The Color 23.1340, 23.7280, 25.2629.22.7549, 23.7280, 27.5218The Color 22.7549, 23.7280, 27.5218.21.9813, 23.7280, 26.4172The Color 21.9813, 23.7280, 26.4172.Square

🖌️ View as Color Bucket

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.21.9813, 23.7280, 26.4172The Color 21.9813, 23.7280, 26.4172.22.7695, 23.7280, 24.2346The Color 22.7695, 23.7280, 24.2346.23.1340, 23.7280, 25.2629The Color 23.1340, 23.7280, 25.2629.22.3373, 23.7280, 27.5059The Color 22.3373, 23.7280, 27.5059.21.9813, 23.7280, 26.4172The Color 21.9813, 23.7280, 26.4172.Rectangle

🖌️ View as Color Bucket

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.21.9820, 23.7290, 26.4177The Color 21.9820, 23.7290, 26.4177.9.5508, 10.0482, 10.9424The Color 9.5508, 10.0482, 10.9424.65.7814, 69.2071, 75.3665The Color 65.7814, 69.2071, 75.3665.9.3809, 9.9606, 10.9344The Color 9.3809, 9.9606, 10.9344.21.5090, 23.5419, 23.8327The Color 21.5090, 23.5419, 23.8327.40.4550, 42.9831, 47.2122The Color 40.4550, 42.9831, 47.2122.21.9820, 23.7290, 26.4177The Color 21.9820, 23.7290, 26.4177.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#808787

Previews

White Background

 

This preview shows how the XYZ color 21.9813, 23.7280, 26.4172 looks on a white background.

The color contrast ratio for these colors is 3.66, 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 21.9813, 23.7280, 26.4172 looks on a black background.

The color contrast ratio for these colors is 5.73, 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 21.9813, 23.7280, 26.4172 Background

 

This preview shows how black text looks on a background with the XYZ color 21.9813, 23.7280, 26.4172.

 

This preview shows how white text looks on a background with the XYZ color 21.9813, 23.7280, 26.4172.

Color Blindness Simulation


Dichromacy

Original Color
21.9392, 23.6664, 26.3334
Protanopia
22.8439, 23.7305, 25.9307
Deuteranopia
23.9712, 23.4978, 26.5647
Tritanopia
22.7651, 23.8096, 29.7814

Trichromacy

Original Color
21.9392, 23.6664, 26.3334
Protanomaly
22.5010, 23.7580, 25.9541
Deuteranomaly
23.2077, 23.4991, 26.6052
Tritanomaly
22.3861, 23.6404, 28.5825

Monochromacy

Original Color
21.9392, 23.6664, 26.3334
Achromatopsia
22.2940, 23.4551, 25.5426
Achromatomaly
22.1882, 23.5967, 25.9394

CSS Examples


The CSS property to change the color of the text to XYZ 21.9813, 23.7280, 26.4172 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(128, 135, 135) }.

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

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

Here you see how black text with a 4 pixel rgb(128, 135, 135) 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 21.9813, 23.7280, 26.4172 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(128, 135, 135) }.

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

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

Background

The CSS property to change the background color of an element to XYZ 21.9813, 23.7280, 26.4172 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(128, 135, 135) }.

If only the background color should be changed .background{ background-color:rgb(128, 135, 135) } 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.

How-to use Converting Colors

To convert, paste a string in one of these color formats, for example, "808787", 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 "180°, 5%, 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(180°, 5%, 53%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(55.81, -2.64, -0.92)", "CIELCH(56, 2.793, 199.272)", "YXY(23.7280, 0.3048, 0.3290)" and "CMYK(0.05, 0.00, 0.00, 0.47)".


    FontExplorer X - Makes Everyone an Expert

Advertisment: These links are affiliate (commission) links. If you click on such a link and buy something on that website, I get a commission. For you, the price does not change.