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 2
FormatColor
RYB183, 134, 165
Decimal12027557
CIELab61.55, 23.43, -9.02
CIELCh62, 25.110, 338.938
Yxy29.8833, 0.3338, 0.2866
Android (android.graphics.Color)4290217637 (0xFFB786A5)
YUV152.1850, 6.3178, 27.0248

Details

The Yxy color 29.8833, 0.3338, 0.2866 is a light color, and the websafe version is hex CC99CC. A complement of this color would be 41.0569, 0.2963, 0.3756, and the grayscale version is 31.4920, 0.3127, 0.3290.

A 20% lighter version of the original color is 59.6590, 0.3305, 0.2951, and 12.2000, 0.3411, 0.2737 is the 20% darker color. If you saturate the color by 10%, you get 25.0143, 0.3444, 0.2700, and if you desaturate by 10%, it is 35.6397, 0.3247, 0.3031.

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 29.8833, 0.3338, 0.2866 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 29.8833, 0.3338, 0.2866 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%.29.8833, 0.3338, 0.2866The Color 29.8833, 0.3338, 0.2866.301.3601, 0.3228, 0.3086The Color 301.3601, 0.3228, 0.3086.250.5586, 0.3235, 0.3074The Color 250.5586, 0.3235, 0.3074.205.8134, 0.3242, 0.3060The Color 205.8134, 0.3242, 0.3060.166.7401, 0.3250, 0.3044The Color 166.7401, 0.3250, 0.3044.132.9542, 0.3259, 0.3025The Color 132.9542, 0.3259, 0.3025.104.0715, 0.3269, 0.3004The Color 104.0715, 0.3269, 0.3004.79.7074, 0.3282, 0.2978The Color 79.7074, 0.3282, 0.2978.59.4776, 0.3297, 0.2948The Color 59.4776, 0.3297, 0.2948.42.9977, 0.3315, 0.2911The Color 42.9977, 0.3315, 0.2911.29.8833, 0.3338, 0.2866The Color 29.8833, 0.3338, 0.2866.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]29.8833, 0.3338, 0.2866The Color 29.8833, 0.3338, 0.2866.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.1720, 0.4262, 0.0997The Color 0.1720, 0.4262, 0.0997.1.3401, 0.3653, 0.2239The Color 1.3401, 0.3653, 0.2239.3.3929, 0.3533, 0.2477The Color 3.3929, 0.3533, 0.2477.6.8892, 0.3457, 0.2628The Color 6.8892, 0.3457, 0.2628.12.2135, 0.3405, 0.2732The Color 12.2135, 0.3405, 0.2732.19.7500, 0.3367, 0.2808The Color 19.7500, 0.3367, 0.2808.29.8833, 0.3338, 0.2866The Color 29.8833, 0.3338, 0.2866.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.29.8833, 0.3338, 0.2866The Color 29.8833, 0.3338, 0.2866.11.2875, 0.4387, 0.2191The Color 11.2875, 0.4387, 0.2191.11.4855, 0.4330, 0.2179The Color 11.4855, 0.4330, 0.2179.12.1944, 0.4171, 0.2164The Color 12.1944, 0.4171, 0.2164.13.4151, 0.4009, 0.2199The Color 13.4151, 0.4009, 0.2199.15.2415, 0.3851, 0.2280The Color 15.2415, 0.3851, 0.2280.17.7441, 0.3702, 0.2397The Color 17.7441, 0.3702, 0.2397.20.9837, 0.3565, 0.2541The Color 20.9837, 0.3565, 0.2541.25.0143, 0.3444, 0.2700The Color 25.0143, 0.3444, 0.2700.29.8833, 0.3338, 0.2866The Color 29.8833, 0.3338, 0.2866.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]29.8833, 0.3338, 0.2866The Color 29.8833, 0.3338, 0.2866.86.9553, 0.2866, 0.3625The Color 86.9553, 0.2866, 0.3625.86.6018, 0.2900, 0.3702The Color 86.6018, 0.2900, 0.3702.86.2620, 0.2935, 0.3778The Color 86.2620, 0.2935, 0.3778.79.0596, 0.2968, 0.3740The Color 79.0596, 0.2968, 0.3740.68.3033, 0.3006, 0.3618The Color 68.3033, 0.3006, 0.3618.58.6172, 0.3051, 0.3486The Color 58.6172, 0.3051, 0.3486.49.9681, 0.3105, 0.3343The Color 49.9681, 0.3105, 0.3343.42.3212, 0.3170, 0.3191The Color 42.3212, 0.3170, 0.3191.35.6397, 0.3247, 0.3031The Color 35.6397, 0.3247, 0.3031.29.8833, 0.3338, 0.2866The Color 29.8833, 0.3338, 0.2866.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.29.8833, 0.2926, 0.2681The Color 29.8833, 0.2926, 0.2681.29.8833, 0.3711, 0.3150The Color 29.8833, 0.3711, 0.3150.29.8833, 0.3338, 0.2866The Color 29.8833, 0.3338, 0.2866.29.8833, 0.2926, 0.2681The Color 29.8833, 0.2926, 0.2681.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.29.8833, 0.3338, 0.2866The Color 29.8833, 0.3338, 0.2866.29.8833, 0.2393, 0.3017The Color 29.8833, 0.2393, 0.3017.29.8833, 0.3662, 0.3991The Color 29.8833, 0.3662, 0.3991.29.8833, 0.3338, 0.2866The Color 29.8833, 0.3338, 0.2866.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.29.8833, 0.3338, 0.2866The Color 29.8833, 0.3338, 0.2866.41.0569, 0.2963, 0.3756The Color 41.0569, 0.2963, 0.3756.29.8833, 0.3338, 0.2866The Color 29.8833, 0.3338, 0.2866.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.29.8833, 0.2564, 0.3400The Color 29.8833, 0.2564, 0.3400.29.8833, 0.3288, 0.4000The Color 29.8833, 0.3288, 0.4000.29.8833, 0.3338, 0.2866The Color 29.8833, 0.3338, 0.2866.29.8833, 0.2564, 0.3400The Color 29.8833, 0.2564, 0.3400.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.29.8833, 0.3338, 0.2866The Color 29.8833, 0.3338, 0.2866.29.8833, 0.2403, 0.2745The Color 29.8833, 0.2403, 0.2745.29.8833, 0.2887, 0.3778The Color 29.8833, 0.2887, 0.3778.29.8833, 0.3899, 0.3787The Color 29.8833, 0.3899, 0.3787.29.8833, 0.3338, 0.2866The Color 29.8833, 0.3338, 0.2866.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.29.8833, 0.3338, 0.2866The Color 29.8833, 0.3338, 0.2866.29.8833, 0.2431, 0.3136The Color 29.8833, 0.2431, 0.3136.29.8833, 0.2887, 0.3778The Color 29.8833, 0.2887, 0.3778.29.8833, 0.3875, 0.3369The Color 29.8833, 0.3875, 0.3369.29.8833, 0.3338, 0.2866The Color 29.8833, 0.3338, 0.2866.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.29.8846, 0.3338, 0.2866The Color 29.8846, 0.3338, 0.2866.18.7317, 0.3127, 0.3290The Color 18.7317, 0.3127, 0.3290.93.3107, 0.3127, 0.3290The Color 93.3107, 0.3127, 0.3290.15.9285, 0.3193, 0.3141The Color 15.9285, 0.3193, 0.3141.27.1507, 0.2839, 0.2579The Color 27.1507, 0.2839, 0.2579.73.9941, 0.3182, 0.3164The Color 73.9941, 0.3182, 0.3164.29.8846, 0.3338, 0.2866The Color 29.8846, 0.3338, 0.2866.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#B786A5

Previews

White Background

 

This preview shows how the Yxy color 29.8833, 0.3338, 0.2866 looks on a white background.

The color contrast ratio for these colors is 3.01, 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 Yxy color 29.8833, 0.3338, 0.2866 looks on a black background.

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

Yxy 29.8833, 0.3338, 0.2866 Background

 

This preview shows how black text looks on a background with the Yxy color 29.8833, 0.3338, 0.2866.

 

This preview shows how white text looks on a background with the Yxy color 29.8833, 0.3338, 0.2866.

Color Blindness Simulation


Dichromacy

Original Color
29.8341, 0.3344, 0.2863
Protanopia
30.1651, 0.2853, 0.2895
Deuteranopia
30.0632, 0.3078, 0.3020
Tritanopia
29.7327, 0.3491, 0.3134

Trichromacy

Original Color
29.8341, 0.3344, 0.2863
Protanomaly
29.8543, 0.3014, 0.2877
Deuteranomaly
29.8371, 0.3164, 0.2955
Tritanomaly
29.7652, 0.3438, 0.3037

Monochromacy

Original Color
29.8341, 0.3344, 0.2863
Achromatopsia
31.3989, 0.3127, 0.3290
Achromatomaly
30.7786, 0.3197, 0.3127

CSS Examples


The CSS property to change the color of the text to Yxy 29.8833, 0.3338, 0.2866 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(183, 134, 165) }.

This example shows how text in the color rgb(183, 134, 165) looks like.

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

Here you see how black text with a 4 pixel rgb(183, 134, 165) 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 29.8833, 0.3338, 0.2866 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(183, 134, 165) }.

If only the border color should be changed .border{ border-color:rgb(183, 134, 165) } can be used.

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

Background

The CSS property to change the background color of an element to Yxy 29.8833, 0.3338, 0.2866 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(183, 134, 165) }.

If only the background color should be changed .background{ background-color:rgb(183, 134, 165) } 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, "B786A5", 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 "322°, 26%, 72%" 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(322°, 26%, 72%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(61.55, 23.43, -9.02)", "CIELCH(62, 25.110, 338.938)", "YXY(29.8833, 0.3338, 0.2866)" and "CMYK(0.00, 0.26, 0.10, 0.28)".


    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.