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 1
FormatColor
Hex807A7A
RGB128, 122, 122
RGB Percent50%, 48%, 48%
CMY0.4980, 0.5200, 0.5200
CMYK0.00, 0.04, 0.04, 0.50
HSL0°, 2%, 49%
HSV0°, 4%, 50%
XYZ19.4487, 20.0220, 21.3824
Conversions Part 2
FormatColor
RYB128, 122, 122
Decimal8419962
CIELab51.86, 2.13, 0.75
CIELCh52, 2.257, 19.483
Yxy20.0220, 0.3196, 0.3290
Android (android.graphics.Color)4286610042 (0xFF807A7A)
YUV123.7940, -0.8844, 3.6887

Details

The XYZ color 19.4487, 20.0220, 21.3824 is a dark color, and the websafe version is hex 666666. A complement of this color would be 19.6984, 21.1635, 23.4691, and the grayscale version is 19.1855, 20.1847, 21.9811.

A 20% lighter version of the original color is 41.8321, 43.1519, 46.1688, and 6.8096, 6.9084, 7.2779 is the 20% darker color. If you saturate the color by 10%, you get 17.2289, 16.7741, 16.9680, and if you desaturate by 10%, it is 21.9814, 23.7277, 26.4176.

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 19.4487, 20.0220, 21.3824 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 19.4487, 20.0220, 21.3824 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%.19.4487, 20.0220, 21.3824The Color 19.4487, 20.0220, 21.3824.241.8056, 252.0342, 272.1513The Color 241.8056, 252.0342, 272.1513.198.8282, 207.1078, 223.5131The Color 198.8282, 207.1078, 223.5131.161.2711, 167.8651, 181.0452The Color 161.2711, 167.8651, 181.0452.128.7689, 133.9218, 144.3291The Color 128.7689, 133.9218, 144.3291.100.9562, 104.8934, 112.9463The Color 100.9562, 104.8934, 112.9463.77.4678, 80.3956, 86.4782The Color 77.4678, 80.3956, 86.4782.57.9381, 60.0440, 64.5064The Color 57.9381, 60.0440, 64.5064.42.0020, 43.4541, 46.6121The Color 42.0020, 43.4541, 46.6121.29.2939, 30.2415, 32.3770The Color 29.2939, 30.2415, 32.3770.19.4487, 20.0220, 21.3824The Color 19.4487, 20.0220, 21.3824.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]19.4487, 20.0220, 21.3824The Color 19.4487, 20.0220, 21.3824.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.2479, 0.2061, 0.1718The Color 0.2479, 0.2061, 0.1718.1.3883, 1.3857, 1.4389The Color 1.3883, 1.3857, 1.4389.3.4360, 3.4773, 3.6567The Color 3.4360, 3.4773, 3.6567.6.8851, 7.0243, 7.4408The Color 6.8851, 7.0243, 7.4408.12.1009, 12.4110, 13.2099The Color 12.1009, 12.4110, 13.2099.19.4487, 20.0220, 21.3824The Color 19.4487, 20.0220, 21.3824.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.19.4487, 20.0220, 21.3824The Color 19.4487, 20.0220, 21.3824.9.0204, 4.7624, 0.6506The Color 9.0204, 4.7624, 0.6506.9.2795, 5.1417, 1.1652The Color 9.2795, 5.1417, 1.1652.9.7134, 5.7768, 2.0274The Color 9.7134, 5.7768, 2.0274.10.3503, 6.7090, 3.2932The Color 10.3503, 6.7090, 3.2932.11.2110, 7.9685, 5.0039The Color 11.2110, 7.9685, 5.0039.12.3136, 9.5819, 7.1957The Color 12.3136, 9.5819, 7.1957.13.6743, 11.5730, 9.9009The Color 13.6743, 11.5730, 9.9009.15.3082, 13.9637, 13.1492The Color 15.3082, 13.9637, 13.1492.17.2289, 16.7741, 16.9680The Color 17.2289, 16.7741, 16.9680.19.4487, 20.0220, 21.3824The Color 19.4487, 20.0220, 21.3824.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]19.4487, 20.0220, 21.3824The Color 19.4487, 20.0220, 21.3824.54.7224, 71.6308, 91.5250The Color 54.7224, 71.6308, 91.5250.49.3270, 63.7370, 80.7956The Color 49.3270, 63.7370, 80.7956.44.3216, 56.4138, 70.8418The Color 44.3216, 56.4138, 70.8418.39.6978, 49.6487, 61.6469The Color 39.6978, 49.6487, 61.6469.35.4467, 43.4290, 53.1932The Color 35.4467, 43.4290, 53.1932.31.5591, 37.7411, 45.4627The Color 31.5591, 37.7411, 45.4627.28.0257, 32.5714, 38.4365The Color 28.0257, 32.5714, 38.4365.24.8366, 27.9053, 32.0950The Color 24.8366, 27.9053, 32.0950.21.9814, 23.7277, 26.4176The Color 21.9814, 23.7277, 26.4176.19.4487, 20.0220, 21.3824The Color 19.4487, 20.0220, 21.3824.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.19.4668, 20.0220, 22.0317The Color 19.4668, 20.0220, 22.0317.19.3180, 20.0220, 20.8553The Color 19.3180, 20.0220, 20.8553.19.4487, 20.0220, 21.3824The Color 19.4487, 20.0220, 21.3824.19.4668, 20.0220, 22.0317The Color 19.4668, 20.0220, 22.0317.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.19.4487, 20.0220, 21.3824The Color 19.4487, 20.0220, 21.3824.18.9500, 20.0220, 23.0649The Color 18.9500, 20.0220, 23.0649.18.6973, 20.0220, 20.9910The Color 18.6973, 20.0220, 20.9910.19.4487, 20.0220, 21.3824The Color 19.4487, 20.0220, 21.3824.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.19.4487, 20.0220, 21.3824The Color 19.4487, 20.0220, 21.3824.19.6984, 21.1635, 23.4691The Color 19.6984, 21.1635, 23.4691.19.4487, 20.0220, 21.3824The Color 19.4487, 20.0220, 21.3824.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.18.7455, 20.0220, 22.7739The Color 18.7455, 20.0220, 22.7739.18.6004, 20.0220, 21.5711The Color 18.6004, 20.0220, 21.5711.19.4487, 20.0220, 21.3824The Color 19.4487, 20.0220, 21.3824.18.7455, 20.0220, 22.7739The Color 18.7455, 20.0220, 22.7739.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.19.4487, 20.0220, 21.3824The Color 19.4487, 20.0220, 21.3824.19.1776, 20.0220, 23.0119The Color 19.1776, 20.0220, 23.0119.18.6180, 20.0220, 22.2241The Color 18.6180, 20.0220, 22.2241.18.8837, 20.0220, 20.6325The Color 18.8837, 20.0220, 20.6325.19.4487, 20.0220, 21.3824The Color 19.4487, 20.0220, 21.3824.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.19.4487, 20.0220, 21.3824The Color 19.4487, 20.0220, 21.3824.18.8763, 20.0220, 23.0038The Color 18.8763, 20.0220, 23.0038.18.6180, 20.0220, 22.2241The Color 18.6180, 20.0220, 22.2241.19.1851, 20.0220, 20.6400The Color 19.1851, 20.0220, 20.6400.19.4487, 20.0220, 21.3824The Color 19.4487, 20.0220, 21.3824.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.19.4493, 20.0229, 21.3828The Color 19.4493, 20.0229, 21.3828.8.4577, 8.8982, 9.6901The Color 8.4577, 8.8982, 9.6901.62.3462, 65.5931, 71.4309The Color 62.3462, 65.5931, 71.4309.8.3598, 8.7549, 9.4955The Color 8.3598, 8.7549, 9.4955.19.8075, 20.1657, 23.2708The Color 19.8075, 20.1657, 23.2708.35.6749, 37.3480, 40.4944The Color 35.6749, 37.3480, 40.4944.19.4493, 20.0229, 21.3828The Color 19.4493, 20.0229, 21.3828.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#807A7A

Previews

White Background

 

This preview shows how the XYZ color 19.4487, 20.0220, 21.3824 looks on a white background.

The color contrast ratio for these colors is 4.21, 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 19.4487, 20.0220, 21.3824 looks on a black background.

The color contrast ratio for these colors is 4.98, 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 19.4487, 20.0220, 21.3824 Background

 

This preview shows how black text looks on a background with the XYZ color 19.4487, 20.0220, 21.3824.

 

This preview shows how white text looks on a background with the XYZ color 19.4487, 20.0220, 21.3824.

Color Blindness Simulation


Dichromacy

Original Color
19.3745, 19.9134, 21.2349
Protanopia
19.2623, 20.0316, 21.5901
Deuteranopia
20.4450, 20.0972, 21.5405
Tritanopia
19.9874, 19.9806, 24.2759

Trichromacy

Original Color
19.3745, 19.9134, 21.2349
Protanomaly
19.4105, 20.1080, 21.5971
Deuteranomaly
20.0854, 20.0914, 21.5583
Tritanomaly
19.9091, 20.1447, 23.2611

Monochromacy

Original Color
19.3745, 19.9134, 21.2349
Achromatopsia
19.1579, 20.1556, 21.9495
Achromatomaly
19.1156, 19.9560, 21.5833

CSS Examples


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

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

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

Here you see how black text with a 4 pixel rgb(128, 122, 122) 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 19.4487, 20.0220, 21.3824 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, 122, 122) }.

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

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

Background

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

If only the background color should be changed .background{ background-color:rgb(128, 122, 122) } 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, "807A7A", 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 "0°, 4%, 50%" 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(0°, 4%, 50%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(51.86, 2.13, 0.75)", "CIELCH(52, 2.257, 19.483)", "YXY(20.0220, 0.3196, 0.3290)" and "CMYK(0.00, 0.04, 0.04, 0.50)".