Converting Colors

Conversions · Details · Harmonies · Images · Preview · CSS · Help

Conversions

New: Converting Colors offers a new tool to do mass color conversions.

FormatColor
HSL277°, 56%, 80%
CIELCh77, 33.068, 313.982
Yxy50.7827, 0.2977, 0.2648
Android (android.graphics.Color)4292063465 (0xFFD3B0E9)
YUV192.9630, 19.7382, 15.8184

Get Conversions and Harmonies as JSON or XML via the REST API.


Details

The Yxy color 50.7827, 0.2977, 0.2648 is a light color, and the websafe version is hex CC99CC. A complement of this color would be 73.4441, 0.3245, 0.3952, and the grayscale version is 53.1862, 0.3127, 0.3290.

A 20% lighter version of the original color is 86.1932, 0.3138, 0.3068, and 24.4082, 0.2934, 0.2492 is the 20% darker color. If you saturate the color by 10%, you get 41.1222, 0.2898, 0.2365, and if you desaturate by 10%, it is 62.0907, 0.3046, 0.2922.

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 Gradient

These gradients show how the Yxy color 50.7827, 0.2977, 0.2648 changes by changing the brightness by 10 percent. The first figure shows a shift by +10% for each color and the second figure -10%.

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%.50.7827, 0.2977, 0.2648The Color 50.7827, 0.2977, 0.2648.389.7189, 0.3056, 0.2949The Color 389.7189, 0.3056, 0.2949.329.1166, 0.3051, 0.2930The Color 329.1166, 0.3051, 0.2930.275.1468, 0.3046, 0.2909The Color 275.1468, 0.3046, 0.2909.227.4253, 0.3040, 0.2886The Color 227.4253, 0.3040, 0.2886.185.5676, 0.3034, 0.2859The Color 185.5676, 0.3034, 0.2859.149.1893, 0.3026, 0.2829The Color 149.1893, 0.3026, 0.2829.117.9061, 0.3017, 0.2794The Color 117.9061, 0.3017, 0.2794.91.3335, 0.3006, 0.2753The Color 91.3335, 0.3006, 0.2753.69.0872, 0.2993, 0.2705The Color 69.0872, 0.2993, 0.2705.50.7827, 0.2977, 0.2648The Color 50.7827, 0.2977, 0.2648.Brightness Gradient
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%.50.7827, 0.2977, 0.2648The Color 50.7827, 0.2977, 0.2648.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.0000, 0.1339, 0.0000The Color 0.0000, 0.1339, 0.0000.0.7248, 0.2445, 0.1344The Color 0.7248, 0.2445, 0.1344.2.2089, 0.2655, 0.1772The Color 2.2089, 0.2655, 0.1772.4.9345, 0.2773, 0.2048The Color 4.9345, 0.2773, 0.2048.9.2955, 0.2846, 0.2241The Color 9.2955, 0.2846, 0.2241.15.6765, 0.2895, 0.2384The Color 15.6765, 0.2895, 0.2384.24.4618, 0.2931, 0.2493The Color 24.4618, 0.2931, 0.2493.36.0357, 0.2957, 0.2579The Color 36.0357, 0.2957, 0.2579.50.7827, 0.2977, 0.2648The Color 50.7827, 0.2977, 0.2648.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the Yxy color 50.7827, 0.2977, 0.2648 by changing the saturation by 10% instead.

Saturation GradientSimilar to the brightness gradients but the following show a change of the {format} color {color} by changing the saturation by 10% instead.50.7827, 0.2977, 0.2648The Color 50.7827, 0.2977, 0.2648.11.7111, 0.2248, 0.1012The Color 11.7111, 0.2248, 0.1012.12.4511, 0.2300, 0.1059The Color 12.4511, 0.2300, 0.1059.14.3125, 0.2398, 0.1174The Color 14.3125, 0.2398, 0.1174.17.1582, 0.2502, 0.1342The Color 17.1582, 0.2502, 0.1342.21.1431, 0.2608, 0.1556The Color 21.1431, 0.2608, 0.1556.26.3943, 0.2711, 0.1806The Color 26.3943, 0.2711, 0.1806.33.0215, 0.2809, 0.2080The Color 33.0215, 0.2809, 0.2080.41.1222, 0.2898, 0.2365The Color 41.1222, 0.2898, 0.2365.50.7827, 0.2977, 0.2648The Color 50.7827, 0.2977, 0.2648.Saturation Gradient
Saturation GradientSimilar to the brightness gradients but the following show a change of the {format} color {color} by changing the saturation by 10% instead.50.7827, 0.2977, 0.2648The Color 50.7827, 0.2977, 0.2648.98.6647, 0.3256, 0.3503The Color 98.6647, 0.3256, 0.3503.97.1851, 0.3205, 0.3506The Color 97.1851, 0.3205, 0.3506.89.9293, 0.3153, 0.3420The Color 89.9293, 0.3153, 0.3420.75.1152, 0.3104, 0.3181The Color 75.1152, 0.3104, 0.3181.62.0907, 0.3046, 0.2922The Color 62.0907, 0.3046, 0.2922.50.7827, 0.2977, 0.2648The Color 50.7827, 0.2977, 0.2648.Saturation Gradient

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.50.7827, 0.2590, 0.2567The Color 50.7827, 0.2590, 0.2567.50.7827, 0.3435, 0.2871The Color 50.7827, 0.3435, 0.2871.50.7827, 0.2977, 0.2648The Color 50.7827, 0.2977, 0.2648.50.7827, 0.2590, 0.2567The Color 50.7827, 0.2590, 0.2567.Analogous

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.50.7827, 0.2977, 0.2648The Color 50.7827, 0.2977, 0.2648.50.7827, 0.2464, 0.3334The Color 50.7827, 0.2464, 0.3334.50.7827, 0.3948, 0.3881The Color 50.7827, 0.3948, 0.3881.50.7827, 0.2977, 0.2648The Color 50.7827, 0.2977, 0.2648.Triad

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.50.7827, 0.2977, 0.2648The Color 50.7827, 0.2977, 0.2648.73.4441, 0.3245, 0.3952The Color 73.4441, 0.3245, 0.3952.50.7827, 0.2977, 0.2648The Color 50.7827, 0.2977, 0.2648.Complementary

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.50.7827, 0.2792, 0.3769The Color 50.7827, 0.2792, 0.3769.50.7827, 0.3651, 0.4082The Color 50.7827, 0.3651, 0.4082.50.7827, 0.2977, 0.2648The Color 50.7827, 0.2977, 0.2648.50.7827, 0.2792, 0.3769The Color 50.7827, 0.2792, 0.3769.Split Complementary

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.50.7827, 0.2977, 0.2648The Color 50.7827, 0.2977, 0.2648.50.7827, 0.2311, 0.2924The Color 50.7827, 0.2311, 0.2924.50.7827, 0.3226, 0.4055The Color 50.7827, 0.3226, 0.4055.50.7827, 0.4019, 0.3554The Color 50.7827, 0.4019, 0.3554.50.7827, 0.2977, 0.2648The Color 50.7827, 0.2977, 0.2648.Square

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.50.7827, 0.2977, 0.2648The Color 50.7827, 0.2977, 0.2648.50.7827, 0.2556, 0.3484The Color 50.7827, 0.2556, 0.3484.50.7827, 0.3226, 0.4055The Color 50.7827, 0.3226, 0.4055.50.7827, 0.3713, 0.3078The Color 50.7827, 0.3713, 0.3078.50.7827, 0.2977, 0.2648The Color 50.7827, 0.2977, 0.2648.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.50.7848, 0.2977, 0.2648The Color 50.7848, 0.2977, 0.2648.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.5898, 0.3087, 0.3100The Color 18.5898, 0.3087, 0.3100.55.8804, 0.2732, 0.2881The Color 55.8804, 0.2732, 0.2881.87.8487, 0.3090, 0.3116The Color 87.8487, 0.3090, 0.3116.50.7848, 0.2977, 0.2648The Color 50.7848, 0.2977, 0.2648.Sweetspot

SVG Images

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

#D3B0E9

Previews

White Background

This preview shows how the Yxy color 50.7827, 0.2977, 0.2648 looks on a white background.

The color contrast ratio for these colors is 1.88, 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 50.7827, 0.2977, 0.2648 looks on a black background.

The color contrast ratio for these colors is 11.16, 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 50.7827, 0.2977, 0.2648 Background

This preview shows how black text looks on a background with the Yxy color 50.7827, 0.2977, 0.2648.

This preview shows how white text looks on a background with the Yxy color 50.7827, 0.2977, 0.2648.


CSS Examples


The CSS property to change the color of the text to Yxy 50.7827, 0.2977, 0.2648 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(211, 176, 233) }.

This example shows how text in the color rgb(211, 176, 233) looks like.

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

Here you see how black text with a 4 pixel rgb(211, 176, 233) 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 50.7827, 0.2977, 0.2648 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(211, 176, 233) }.

If only the border color should be changed .border{ border-color:rgb(211, 176, 233) } can be used.

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

Background

The CSS property to change the background color of an element to Yxy 50.7827, 0.2977, 0.2648 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(211, 176, 233) }.

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

Upskill your career and get 10% off on a Udacity Nanodegrees ProgramAdvertisment🛈

How-to use Converting Colors

To convert, paste a string in one of these color formats, for example, "D3B0E9", 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 "277°, 24%, 91%" 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(277°, 24%, 91%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(76.55, 22.96, -23.79)", "CIELCH(77, 33.068, 313.982)", "YXY(50.7827, 0.2977, 0.2648)" and "CMYK(0.09, 0.24, 0.00, 0.09)".