Converting Colors

Advertisment

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
RYB255, 141, 102
Decimal16745830
CIELab68.67, 43.92, 37.58
CIELCh69, 57.799, 40.554
Yxy38.8850, 0.4804, 0.3594
Android (android.graphics.Color)4294935910 (0xFFFF8566)
YUV165.9440, -31.5244, 78.1021

Details

The XYZ color 51.9711, 38.8850, 17.3368 is a light color, and the websafe version is hex FF9966. A complement of this color would be 50.2910, 63.5677, 104.2263, and the grayscale version is 36.2250, 38.1115, 41.5035.

A 20% lighter version of the original color is 65.0560, 59.5595, 38.6392, and 25.5268, 17.3411, 5.4918 is the 20% darker color. If you saturate the color by 10%, you get 48.3790, 33.4232, 10.8307, and if you desaturate by 10%, it is 56.4956, 45.5899, 26.0725.

Advertisment

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 51.9711, 38.8850, 17.3368 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 51.9711, 38.8850, 17.3368 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%.51.9711, 38.8850, 17.3368The Color 51.9711, 38.8850, 17.3368.384.6508, 341.4013, 249.2152The Color 384.6508, 341.4013, 249.2152.325.5425, 286.0571, 203.4381The Color 325.5425, 286.0571, 203.4381.272.8227, 237.0426, 163.6409The Color 272.8227, 237.0426, 163.6409.226.1260, 193.9735, 129.4048The Color 226.1260, 193.9735, 129.4048.185.0870, 156.4653, 100.3115The Color 185.0870, 156.4653, 100.3115.149.3404, 124.1337, 75.9424The Color 149.3404, 124.1337, 75.9424.118.5209, 96.5943, 55.8789The Color 118.5209, 96.5943, 55.8789.92.2631, 73.4626, 39.7025The Color 92.2631, 73.4626, 39.7025.70.2016, 54.3543, 26.9946The Color 70.2016, 54.3543, 26.9946.51.9711, 38.8850, 17.3368The Color 51.9711, 38.8850, 17.3368.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]51.9711, 38.8850, 17.3368The Color 51.9711, 38.8850, 17.3368.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.9351, 0.0000, 0.0000The Color 0.9351, 0.0000, 0.0000.2.5787, 0.9617, 0.0000The Color 2.5787, 0.9617, 0.0000.5.4958, 2.6694, 0.0000The Color 5.4958, 2.6694, 0.0000.10.0518, 5.7097, 0.8284The Color 10.0518, 5.7097, 0.8284.16.6119, 10.4670, 2.4779The Color 16.6119, 10.4670, 2.4779.25.5416, 17.3257, 5.4970The Color 25.5416, 17.3257, 5.4970.37.2062, 26.6703, 10.3104The Color 37.2062, 26.6703, 10.3104.51.9711, 38.8850, 17.3368The Color 51.9711, 38.8850, 17.3368.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.51.9711, 38.8850, 17.3368The Color 51.9711, 38.8850, 17.3368.42.4241, 23.6285, 2.3248The Color 42.4241, 23.6285, 2.3248.42.4241, 23.6286, 2.3248The Color 42.4241, 23.6286, 2.3248.43.7002, 25.8912, 3.6426The Color 43.7002, 25.8912, 3.6426.45.6480, 29.1203, 6.3470The Color 45.6480, 29.1203, 6.3470.48.3790, 33.4232, 10.8307The Color 48.3790, 33.4232, 10.8307.51.9711, 38.8850, 17.3368The Color 51.9711, 38.8850, 17.3368.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]51.9711, 38.8850, 17.3368The Color 51.9711, 38.8850, 17.3368.95.0498, 99.9999, 108.9000The Color 95.0498, 99.9999, 108.9000.85.0472, 86.1340, 86.6392The Color 85.0472, 86.1340, 86.6392.76.2370, 73.8156, 67.3572The Color 76.2370, 73.8156, 67.3572.68.5743, 62.9909, 50.9281The Color 68.5743, 62.9909, 50.9281.62.0111, 53.6027, 37.2156The Color 62.0111, 53.6027, 37.2156.56.4956, 45.5899, 26.0725The Color 56.4956, 45.5899, 26.0725.51.9711, 38.8850, 17.3368The Color 51.9711, 38.8850, 17.3368.Saturation Gradient

🖌️ View as Color Bucket

Advertisment

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.57.0494, 38.8850, 33.7800The Color 57.0494, 38.8850, 33.7800.43.1189, 38.8850, 10.4188The Color 43.1189, 38.8850, 10.4188.51.9711, 38.8850, 17.3368The Color 51.9711, 38.8850, 17.3368.57.0494, 38.8850, 33.7800The Color 57.0494, 38.8850, 33.7800.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.51.9711, 38.8850, 17.3368The Color 51.9711, 38.8850, 17.3368.40.2694, 38.8850, 113.5203The Color 40.2694, 38.8850, 113.5203.22.7504, 38.8850, 27.7061The Color 22.7504, 38.8850, 27.7061.51.9711, 38.8850, 17.3368The Color 51.9711, 38.8850, 17.3368.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.51.9711, 38.8850, 17.3368The Color 51.9711, 38.8850, 17.3368.50.2910, 63.5677, 104.2263The Color 50.2910, 63.5677, 104.2263.51.9711, 38.8850, 17.3368The Color 51.9711, 38.8850, 17.3368.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.31.4156, 38.8850, 109.6695The Color 31.4156, 38.8850, 109.6695.22.2442, 38.8850, 52.2342The Color 22.2442, 38.8850, 52.2342.51.9711, 38.8850, 17.3368The Color 51.9711, 38.8850, 17.3368.31.4156, 38.8850, 109.6695The Color 31.4156, 38.8850, 109.6695.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.51.9711, 38.8850, 17.3368The Color 51.9711, 38.8850, 17.3368.49.5918, 38.8850, 93.1979The Color 49.5918, 38.8850, 93.1979.25.1580, 38.8850, 84.1754The Color 25.1580, 38.8850, 84.1754.26.6774, 38.8850, 14.4706The Color 26.6774, 38.8850, 14.4706.51.9711, 38.8850, 17.3368The Color 51.9711, 38.8850, 17.3368.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.51.9711, 38.8850, 17.3368The Color 51.9711, 38.8850, 17.3368.37.1289, 38.8850, 115.1655The Color 37.1289, 38.8850, 115.1655.25.1580, 38.8850, 84.1754The Color 25.1580, 38.8850, 84.1754.36.7896, 38.8850, 9.3332The Color 36.7896, 38.8850, 9.3332.51.9711, 38.8850, 17.3368The Color 51.9711, 38.8850, 17.3368.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.51.9720, 38.8871, 17.3375The Color 51.9720, 38.8871, 17.3375.20.3446, 21.4041, 23.3091The Color 20.3446, 21.4041, 23.3091.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.16.1586, 15.5756, 14.0722The Color 16.1586, 15.5756, 14.0722.59.5001, 36.1664, 74.6504The Color 59.5001, 36.1664, 74.6504.77.9056, 76.1576, 70.9804The Color 77.9056, 76.1576, 70.9804.51.9720, 38.8871, 17.3375The Color 51.9720, 38.8871, 17.3375.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#FF8566
Advertisment

Previews

White Background

 

This preview shows how the XYZ color 51.9711, 38.8850, 17.3368 looks on a white background.

The color contrast ratio for these colors is 2.39, 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 51.9711, 38.8850, 17.3368 looks on a black background.

The color contrast ratio for these colors is 8.80, 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 51.9711, 38.8850, 17.3368 Background

 

This preview shows how black text looks on a background with the XYZ color 51.9711, 38.8850, 17.3368.

 

This preview shows how white text looks on a background with the XYZ color 51.9711, 38.8850, 17.3368.

Color Blindness Simulation


Dichromacy

Original Color
52.0258, 38.9944, 17.3550
Protanopia
36.4464, 39.2113, 22.1706
Deuteranopia
39.6303, 38.8420, 16.7178
Tritanopia
53.6777, 38.7955, 28.7039

Trichromacy

Original Color
52.0258, 38.9944, 17.3550
Protanomaly
40.8851, 38.1457, 20.2469
Deuteranomaly
43.5899, 38.4015, 16.9192
Tritanomaly
52.9243, 38.7059, 24.0836

Monochromacy

Original Color
52.0258, 38.9944, 17.3550
Achromatopsia
36.2450, 38.1326, 41.5264
Achromatomaly
39.8022, 37.1001, 31.0498
Advertisment

CSS Examples


The CSS property to change the color of the text to XYZ 51.9711, 38.8850, 17.3368 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(255, 133, 102) }.

This example shows how text in the color rgb(255, 133, 102) looks like.

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

Here you see how black text with a 4 pixel rgb(255, 133, 102) 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 51.9711, 38.8850, 17.3368 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(255, 133, 102) }.

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

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

Background

The CSS property to change the background color of an element to XYZ 51.9711, 38.8850, 17.3368 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(255, 133, 102) }.

If only the background color should be changed .background{ background-color:rgb(255, 133, 102) } 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, "FF8566", 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 "12°, 60%, 100%" 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(12°, 60%, 100%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(68.67, 43.92, 37.58)", "CIELCH(69, 57.799, 40.554)", "YXY(38.8850, 0.4804, 0.3594)" and "CMYK(0.00, 0.48, 0.60, 0.00)".


Advertisment