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
Hex566831
RGB86, 104, 49
RGB Percent34%, 41%, 19%
CMY0.6626, 0.5937, 0.8063
CMYK0.17, 0.00, 0.52, 0.59
HSL79°, 35%, 30%
HSV79°, 52%, 41%
XYZ9.3144, 12.0256, 4.7799
Conversions Part 2
FormatColor
RYB49, 104, 67
Decimal5662769
CIELab41.26, -16.28, 28.17
CIELCh41, 32.530, 120.024
Yxy12.0256, 0.3566, 0.4604
Android (android.graphics.Color)4283852849 (0xFF566831)
YUV92.3480, -21.3706, -5.5672

Details

The Yxy color 12.0256, 0.3566, 0.4604 is a dark color, and the websafe version is hex 666633. A complement of this color would be 4.4132, 0.2476, 0.1850, and the grayscale version is 10.7924, 0.3127, 0.3290.

A 20% lighter version of the original color is 29.6241, 0.3478, 0.4258, and 3.3620, 0.3693, 0.5373 is the 20% darker color. If you saturate the color by 10%, you get 11.7920, 0.3622, 0.4844, and if you desaturate by 10%, it is 12.2879, 0.3495, 0.4348.

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 Yxy color 12.0256, 0.3566, 0.4604 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 Yxy color 12.0256, 0.3566, 0.4604 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%.12.0256, 0.3566, 0.4604The Color 12.0256, 0.3566, 0.4604.204.5747, 0.3325, 0.3782The Color 204.5747, 0.3325, 0.3782.165.6637, 0.3338, 0.3819The Color 165.6637, 0.3338, 0.3819.132.0288, 0.3353, 0.3862The Color 132.0288, 0.3353, 0.3862.103.2856, 0.3371, 0.3913The Color 103.2856, 0.3371, 0.3913.79.0497, 0.3391, 0.3973The Color 79.0497, 0.3391, 0.3973.58.9367, 0.3415, 0.4047The Color 58.9367, 0.3415, 0.4047.42.5621, 0.3444, 0.4137The Color 42.5621, 0.3444, 0.4137.29.5417, 0.3477, 0.4252The Color 29.5417, 0.3477, 0.4252.19.4910, 0.3518, 0.4402The Color 19.4910, 0.3518, 0.4402.12.0256, 0.3566, 0.4604The Color 12.0256, 0.3566, 0.4604.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]12.0256, 0.3566, 0.4604The Color 12.0256, 0.3566, 0.4604.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.1391, 0.0000, 1.0000The Color 0.1391, 0.0000, 1.0000.1.2973, 0.3776, 0.6224The Color 1.2973, 0.3776, 0.6224.3.3132, 0.3691, 0.5351The Color 3.3132, 0.3691, 0.5351.6.7611, 0.3620, 0.4889The Color 6.7611, 0.3620, 0.4889.12.0256, 0.3566, 0.4604The Color 12.0256, 0.3566, 0.4604.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.12.0256, 0.3566, 0.4604The Color 12.0256, 0.3566, 0.4604.11.1241, 0.3661, 0.5475The Color 11.1241, 0.3661, 0.5475.11.2396, 0.3670, 0.5376The Color 11.2396, 0.3670, 0.5376.11.4007, 0.3676, 0.5238The Color 11.4007, 0.3676, 0.5238.11.5841, 0.3659, 0.5059The Color 11.5841, 0.3659, 0.5059.11.7920, 0.3622, 0.4844The Color 11.7920, 0.3622, 0.4844.12.0256, 0.3566, 0.4604The Color 12.0256, 0.3566, 0.4604.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]12.0256, 0.3566, 0.4604The Color 12.0256, 0.3566, 0.4604.15.5229, 0.2821, 0.2564The Color 15.5229, 0.2821, 0.2564.14.9978, 0.2896, 0.2733The Color 14.9978, 0.2896, 0.2733.14.5090, 0.2976, 0.2919The Color 14.5090, 0.2976, 0.2919.14.0558, 0.3060, 0.3122The Color 14.0558, 0.3060, 0.3122.13.6372, 0.3148, 0.3343The Color 13.6372, 0.3148, 0.3343.13.2522, 0.3238, 0.3579The Color 13.2522, 0.3238, 0.3579.12.8997, 0.3328, 0.3829The Color 12.8997, 0.3328, 0.3829.12.5786, 0.3415, 0.4087The Color 12.5786, 0.3415, 0.4087.12.2879, 0.3495, 0.4348The Color 12.2879, 0.3495, 0.4348.12.0256, 0.3566, 0.4604The Color 12.0256, 0.3566, 0.4604.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.12.0256, 0.4171, 0.4389The Color 12.0256, 0.4171, 0.4389.12.0256, 0.2878, 0.4357The Color 12.0256, 0.2878, 0.4357.12.0256, 0.3566, 0.4604The Color 12.0256, 0.3566, 0.4604.12.0256, 0.4171, 0.4389The Color 12.0256, 0.4171, 0.4389.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.12.0256, 0.3566, 0.4604The Color 12.0256, 0.3566, 0.4604.12.0256, 0.3975, 0.2885The Color 12.0256, 0.3975, 0.2885.12.0256, 0.1895, 0.2446The Color 12.0256, 0.1895, 0.2446.12.0256, 0.3566, 0.4604The Color 12.0256, 0.3566, 0.4604.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.12.0256, 0.3566, 0.4604The Color 12.0256, 0.3566, 0.4604.4.4132, 0.2476, 0.1850The Color 4.4132, 0.2476, 0.1850.12.0256, 0.3566, 0.4604The Color 12.0256, 0.3566, 0.4604.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.12.0256, 0.3258, 0.2479The Color 12.0256, 0.3258, 0.2479.12.0256, 0.2108, 0.2218The Color 12.0256, 0.2108, 0.2218.12.0256, 0.3566, 0.4604The Color 12.0256, 0.3566, 0.4604.12.0256, 0.3258, 0.2479The Color 12.0256, 0.3258, 0.2479.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.12.0256, 0.3566, 0.4604The Color 12.0256, 0.3566, 0.4604.12.0256, 0.4458, 0.3391The Color 12.0256, 0.4458, 0.3391.12.0256, 0.2579, 0.2241The Color 12.0256, 0.2579, 0.2241.12.0256, 0.1954, 0.2957The Color 12.0256, 0.1954, 0.2957.12.0256, 0.3566, 0.4604The Color 12.0256, 0.3566, 0.4604.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.12.0256, 0.3566, 0.4604The Color 12.0256, 0.3566, 0.4604.12.0256, 0.3748, 0.2735The Color 12.0256, 0.3748, 0.2735.12.0256, 0.2579, 0.2241The Color 12.0256, 0.2579, 0.2241.12.0256, 0.2467, 0.3938The Color 12.0256, 0.2467, 0.3938.12.0256, 0.3566, 0.4604The Color 12.0256, 0.3566, 0.4604.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.12.0261, 0.3566, 0.4604The Color 12.0261, 0.3566, 0.4604.5.9254, 0.3127, 0.3290The Color 5.9254, 0.3127, 0.3290.55.4222, 0.3127, 0.3290The Color 55.4222, 0.3127, 0.3290.5.6317, 0.3288, 0.3717The Color 5.6317, 0.3288, 0.3717.7.1068, 0.4274, 0.3701The Color 7.1068, 0.4274, 0.3701.23.1744, 0.3275, 0.3681The Color 23.1744, 0.3275, 0.3681.12.0261, 0.3566, 0.4604The Color 12.0261, 0.3566, 0.4604.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#566831

Previews

White Background

 

This preview shows how the Yxy color 12.0256, 0.3566, 0.4604 looks on a white background.

The color contrast ratio for these colors is 6.14, 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 Yxy color 12.0256, 0.3566, 0.4604 looks on a black background.

The color contrast ratio for these colors is 3.42, which passes the AA level for large text above 18pt. Details can be found at https://www.w3.org/TR/WCAG20/.

Yxy 12.0256, 0.3566, 0.4604 Background

 

This preview shows how black text looks on a background with the Yxy color 12.0256, 0.3566, 0.4604.

 

This preview shows how white text looks on a background with the Yxy color 12.0256, 0.3566, 0.4604.

Color Blindness Simulation


Dichromacy

Original Color
12.1008, 0.3567, 0.4620
Protanopia
11.8804, 0.3998, 0.4377
Deuteranopia
11.9986, 0.4177, 0.4128
Tritanopia
12.0824, 0.2961, 0.3129

Trichromacy

Original Color
12.1008, 0.3567, 0.4620
Protanomaly
11.7897, 0.3831, 0.4454
Deuteranomaly
11.9142, 0.3947, 0.4300
Tritanomaly
11.9439, 0.3184, 0.3652

Monochromacy

Original Color
12.1008, 0.3567, 0.4620
Achromatopsia
10.7023, 0.3127, 0.3290
Achromatomaly
11.0752, 0.3306, 0.3759

CSS Examples


The CSS property to change the color of the text to Yxy 12.0256, 0.3566, 0.4604 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(86, 104, 49) }.

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

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

Here you see how black text with a 4 pixel rgb(86, 104, 49) 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 Yxy 12.0256, 0.3566, 0.4604 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(86, 104, 49) }.

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

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

Background

The CSS property to change the background color of an element to Yxy 12.0256, 0.3566, 0.4604 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(86, 104, 49) }.

If only the background color should be changed .background{ background-color:rgb(86, 104, 49) } 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, "566831", 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 "79°, 52%, 41%" 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(79°, 52%, 41%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(41.26, -16.28, 28.17)", "CIELCH(41, 32.530, 120.024)", "YXY(12.0256, 0.3566, 0.4604)" and "CMYK(0.17, 0.00, 0.52, 0.59)".


    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.