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
RYB153, 152, 197
Decimal10066117
CIELab64.33, 10.42, -23.26
CIELCh64, 25.485, 294.126
Yxy33.2038, 0.2753, 0.2650
Android (android.graphics.Color)4288256197 (0xFF9998C5)
YUV157.4290, 19.5085, -3.8842

Details

The Yxy color 33.2038, 0.2753, 0.2650 is a light color, and the websafe version is hex 9999CC. A complement of this color would be 54.0139, 0.3458, 0.3864, and the grayscale version is 33.8126, 0.3127, 0.3290.

A 20% lighter version of the original color is 64.7083, 0.2826, 0.2772, and 14.0572, 0.2630, 0.2469 is the 20% darker color. If you saturate the color by 10%, you get 25.6318, 0.2560, 0.2323, and if you desaturate by 10%, it is 42.1377, 0.2928, 0.2948.

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 Yxy color 33.2038, 0.2753, 0.2650 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 33.2038, 0.2753, 0.2650 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%.33.2038, 0.2753, 0.2650The Color 33.2038, 0.2753, 0.2650.316.5671, 0.2951, 0.2976The Color 316.5671, 0.2951, 0.2976.264.0186, 0.2940, 0.2957The Color 264.0186, 0.2940, 0.2957.217.6330, 0.2927, 0.2936The Color 217.6330, 0.2927, 0.2936.177.0258, 0.2913, 0.2912The Color 177.0258, 0.2913, 0.2912.141.8127, 0.2896, 0.2884The Color 141.8127, 0.2896, 0.2884.111.6092, 0.2877, 0.2852The Color 111.6092, 0.2877, 0.2852.86.0310, 0.2854, 0.2814The Color 86.0310, 0.2854, 0.2814.64.6936, 0.2827, 0.2770The Color 64.6936, 0.2827, 0.2770.47.2127, 0.2794, 0.2716The Color 47.2127, 0.2794, 0.2716.33.2038, 0.2753, 0.2650The Color 33.2038, 0.2753, 0.2650.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]33.2038, 0.2753, 0.2650The Color 33.2038, 0.2753, 0.2650.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.4789, 0.1826, 0.1232The Color 0.4789, 0.1826, 0.1232.1.7867, 0.2183, 0.1825The Color 1.7867, 0.2183, 0.1825.4.2012, 0.2398, 0.2119The Color 4.2012, 0.2398, 0.2119.8.1657, 0.2536, 0.2318The Color 8.1657, 0.2536, 0.2318.14.0647, 0.2631, 0.2461The Color 14.0647, 0.2631, 0.2461.22.2826, 0.2700, 0.2567The Color 22.2826, 0.2700, 0.2567.33.2038, 0.2753, 0.2650The Color 33.2038, 0.2753, 0.2650.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.33.2038, 0.2753, 0.2650The Color 33.2038, 0.2753, 0.2650.4.0925, 0.1511, 0.0606The Color 4.0925, 0.1511, 0.0606.4.5003, 0.1544, 0.0658The Color 4.5003, 0.1544, 0.0658.5.5878, 0.1632, 0.0792The Color 5.5878, 0.1632, 0.0792.7.5042, 0.1767, 0.1008The Color 7.5042, 0.1767, 0.1008.10.3711, 0.1943, 0.1294The Color 10.3711, 0.1943, 0.1294.14.2905, 0.2144, 0.1626The Color 14.2905, 0.2144, 0.1626.19.3510, 0.2354, 0.1976The Color 19.3510, 0.2354, 0.1976.25.6318, 0.2560, 0.2323The Color 25.6318, 0.2560, 0.2323.33.2038, 0.2753, 0.2650The Color 33.2038, 0.2753, 0.2650.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]33.2038, 0.2753, 0.2650The Color 33.2038, 0.2753, 0.2650.96.8254, 0.3470, 0.3857The Color 96.8254, 0.3470, 0.3857.92.6465, 0.3434, 0.3822The Color 92.6465, 0.3434, 0.3822.77.6924, 0.3334, 0.3648The Color 77.6924, 0.3334, 0.3648.64.3248, 0.3218, 0.3446The Color 64.3248, 0.3218, 0.3446.52.4915, 0.3083, 0.3214The Color 52.4915, 0.3083, 0.3214.42.1377, 0.2928, 0.2948The Color 42.1377, 0.2928, 0.2948.33.2038, 0.2753, 0.2650The Color 33.2038, 0.2753, 0.2650.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.33.2038, 0.2490, 0.2679The Color 33.2038, 0.2490, 0.2679.33.2038, 0.3132, 0.2769The Color 33.2038, 0.3132, 0.2769.33.2038, 0.2753, 0.2650The Color 33.2038, 0.2753, 0.2650.33.2038, 0.2490, 0.2679The Color 33.2038, 0.2490, 0.2679.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.33.2038, 0.2753, 0.2650The Color 33.2038, 0.2753, 0.2650.33.2038, 0.2717, 0.3591The Color 33.2038, 0.2717, 0.3591.33.2038, 0.3924, 0.3637The Color 33.2038, 0.3924, 0.3637.33.2038, 0.2753, 0.2650The Color 33.2038, 0.2753, 0.2650.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.33.2038, 0.2753, 0.2650The Color 33.2038, 0.2753, 0.2650.54.0139, 0.3458, 0.3864The Color 54.0139, 0.3458, 0.3864.33.2038, 0.2753, 0.2650The Color 33.2038, 0.2753, 0.2650.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.33.2038, 0.3083, 0.3901The Color 33.2038, 0.3083, 0.3901.33.2038, 0.3789, 0.3897The Color 33.2038, 0.3789, 0.3897.33.2038, 0.2753, 0.2650The Color 33.2038, 0.2753, 0.2650.33.2038, 0.3083, 0.3901The Color 33.2038, 0.3083, 0.3901.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.33.2038, 0.2753, 0.2650The Color 33.2038, 0.2753, 0.2650.33.2038, 0.2469, 0.3200The Color 33.2038, 0.2469, 0.3200.33.2038, 0.3477, 0.4009The Color 33.2038, 0.3477, 0.4009.33.2038, 0.3830, 0.3315The Color 33.2038, 0.3830, 0.3315.33.2038, 0.2753, 0.2650The Color 33.2038, 0.2753, 0.2650.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.33.2038, 0.2753, 0.2650The Color 33.2038, 0.2753, 0.2650.33.2038, 0.2829, 0.3710The Color 33.2038, 0.2829, 0.3710.33.2038, 0.3477, 0.4009The Color 33.2038, 0.3477, 0.4009.33.2038, 0.3404, 0.2917The Color 33.2038, 0.3404, 0.2917.33.2038, 0.2753, 0.2650The Color 33.2038, 0.2753, 0.2650.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.33.2051, 0.2753, 0.2650The Color 33.2051, 0.2753, 0.2650.21.4041, 0.3127, 0.3290The Color 21.4041, 0.3127, 0.3290.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.18.1670, 0.3014, 0.3096The Color 18.1670, 0.3014, 0.3096.50.0737, 0.2787, 0.3269The Color 50.0737, 0.2787, 0.3269.86.0197, 0.3024, 0.3112The Color 86.0197, 0.3024, 0.3112.33.2051, 0.2753, 0.2650The Color 33.2051, 0.2753, 0.2650.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#9998C5
Advertisment

Previews

White Background

 

This preview shows how the Yxy color 33.2038, 0.2753, 0.2650 looks on a white background.

The color contrast ratio for these colors is 2.74, 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 Yxy color 33.2038, 0.2753, 0.2650 looks on a black background.

The color contrast ratio for these colors is 7.65, 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/.

Yxy 33.2038, 0.2753, 0.2650 Background

 

This preview shows how black text looks on a background with the Yxy color 33.2038, 0.2753, 0.2650.

 

This preview shows how white text looks on a background with the Yxy color 33.2038, 0.2753, 0.2650.

Color Blindness Simulation


Dichromacy

Original Color
33.2600, 0.2753, 0.2658
Protanopia
33.1640, 0.2665, 0.2649
Deuteranopia
33.2977, 0.2728, 0.2668
Tritanopia
33.2744, 0.2937, 0.3110

Trichromacy

Original Color
33.2600, 0.2753, 0.2658
Protanomaly
33.0627, 0.2695, 0.2651
Deuteranomaly
33.3930, 0.2737, 0.2670
Tritanomaly
33.1814, 0.2871, 0.2937

Monochromacy

Original Color
33.2600, 0.2753, 0.2658
Achromatopsia
33.7164, 0.3127, 0.3290
Achromatomaly
33.4892, 0.2985, 0.3041
Advertisment

CSS Examples


The CSS property to change the color of the text to Yxy 33.2038, 0.2753, 0.2650 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(153, 152, 197) }.

This example shows how text in the color rgb(153, 152, 197) looks like.

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

Here you see how black text with a 4 pixel rgb(153, 152, 197) 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 33.2038, 0.2753, 0.2650 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(153, 152, 197) }.

If only the border color should be changed .border{ border-color:rgb(153, 152, 197) } can be used.

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

Background

The CSS property to change the background color of an element to Yxy 33.2038, 0.2753, 0.2650 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(153, 152, 197) }.

If only the background color should be changed .background{ background-color:rgb(153, 152, 197) } 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, "9998C5", 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 "242°, 23%, 77%" 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(242°, 23%, 77%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(64.33, 10.42, -23.26)", "CIELCH(64, 25.485, 294.126)", "YXY(33.2038, 0.2753, 0.2650)" and "CMYK(0.22, 0.23, 0.00, 0.23)".


Advertisment