Converting Colors

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

Conversions

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

FormatColor
HSL295°, 41%, 57%
CIELCh55, 57.372, 324.149
Yxy22.7481, 0.3086, 0.2122
Android (android.graphics.Color)4290143422 (0xFFB664BE)
YUV134.7780, 27.2244, 41.4137

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


Details

The XYZ color 33.0860, 22.7481, 51.3641 is a light color, and the websafe version is hex CC66CC. A complement of this color would be 26.9299, 40.9528, 18.5435, and the grayscale version is 22.8186, 24.0069, 26.1435.

A 20% lighter version of the original color is 64.1149, 48.0231, 93.8859, and 14.2533, 8.4035, 24.1634 is the 20% darker color. If you saturate the color by 10%, you get 31.0640, 19.3090, 50.8072, and if you desaturate by 10%, it is 35.5397, 27.0417, 52.0639.

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 XYZ color 33.0860, 22.7481, 51.3641 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%.33.0860, 22.7481, 51.3641The Color 33.0860, 22.7481, 51.3641.307.6952, 266.4285, 408.8636The Color 307.6952, 266.4285, 408.8636.256.9764, 219.7521, 344.5367The Color 256.9764, 219.7521, 344.5367.212.1617, 178.8728, 287.3376The Color 212.1617, 178.8728, 287.3376.172.8859, 143.4062, 236.8477The Color 172.8859, 143.4062, 236.8477.138.7835, 112.9680, 192.6486The Color 138.7835, 112.9680, 192.6486.109.4892, 87.1737, 154.3215The Color 109.4892, 87.1737, 154.3215.84.6377, 65.6390, 121.4481The Color 84.6377, 65.6390, 121.4481.63.8636, 47.9794, 93.6098The Color 63.8636, 47.9794, 93.6098.46.8014, 33.8106, 70.3879The Color 46.8014, 33.8106, 70.3879.33.0860, 22.7481, 51.3641The Color 33.0860, 22.7481, 51.3641.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%.33.0860, 22.7481, 51.3641The Color 33.0860, 22.7481, 51.3641.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.0000, 0.0000, 0.5184The Color 0.0000, 0.0000, 0.5184.0.5893, 0.0000, 1.9406The Color 0.5893, 0.0000, 1.9406.1.9215, 0.5327, 4.5659The Color 1.9215, 0.5327, 4.5659.4.3839, 1.8741, 8.8779The Color 4.3839, 1.8741, 8.8779.8.3662, 4.3550, 15.2951The Color 8.3662, 4.3550, 15.2951.14.2337, 8.4047, 24.2362The Color 14.2337, 8.4047, 24.2362.22.3519, 14.4076, 36.1197The Color 22.3519, 14.4076, 36.1197.33.0860, 22.7481, 51.3641The Color 33.0860, 22.7481, 51.3641.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the XYZ color 33.0860, 22.7481, 51.3641 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.33.0860, 22.7481, 51.3641The Color 33.0860, 22.7481, 51.3641.26.4389, 12.5560, 49.7475The Color 26.4389, 12.5560, 49.7475.26.5945, 12.7169, 49.7704The Color 26.5945, 12.7169, 49.7704.27.2546, 13.4616, 49.8793The Color 27.2546, 13.4616, 49.8793.28.1846, 14.7387, 50.0768The Color 28.1846, 14.7387, 50.0768.29.4412, 16.6614, 50.3817The Color 29.4412, 16.6614, 50.3817.31.0640, 19.3090, 50.8072The Color 31.0640, 19.3090, 50.8072.33.0860, 22.7481, 51.3641The Color 33.0860, 22.7481, 51.3641.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.33.0860, 22.7481, 51.3641The Color 33.0860, 22.7481, 51.3641.68.1923, 87.1658, 61.9480The Color 68.1923, 87.1658, 61.9480.66.7912, 85.0382, 61.6112The Color 66.7912, 85.0382, 61.6112.60.6700, 73.4628, 59.6995The Color 60.6700, 73.4628, 59.6995.55.1332, 63.0484, 57.9812The Color 55.1332, 63.0484, 57.9812.50.1626, 53.7586, 56.4500The Color 50.1626, 53.7586, 56.4500.45.7388, 45.5549, 55.0997The Color 45.7388, 45.5549, 55.0997.41.8417, 38.3967, 53.9234The Color 41.8417, 38.3967, 53.9234.38.4497, 32.2410, 52.9141The Color 38.4497, 32.2410, 52.9141.35.5397, 27.0417, 52.0639The Color 35.5397, 27.0417, 52.0639.33.0860, 22.7481, 51.3641The Color 33.0860, 22.7481, 51.3641.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.27.0029, 22.7481, 72.2458The Color 27.0029, 22.7481, 72.2458.36.1596, 22.7481, 28.5014The Color 36.1596, 22.7481, 28.5014.33.0860, 22.7481, 51.3641The Color 33.0860, 22.7481, 51.3641.27.0029, 22.7481, 72.2458The Color 27.0029, 22.7481, 72.2458.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.33.0860, 22.7481, 51.3641The Color 33.0860, 22.7481, 51.3641.12.2952, 22.7481, 41.9768The Color 12.2952, 22.7481, 41.9768.22.8882, 22.7481, 3.7405The Color 22.8882, 22.7481, 3.7405.33.0860, 22.7481, 51.3641The Color 33.0860, 22.7481, 51.3641.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.33.0860, 22.7481, 51.3641The Color 33.0860, 22.7481, 51.3641.26.9299, 40.9528, 18.5435The Color 26.9299, 40.9528, 18.5435.33.0860, 22.7481, 51.3641The Color 33.0860, 22.7481, 51.3641.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.11.6191, 22.7481, 21.3772The Color 11.6191, 22.7481, 21.3772.17.0070, 22.7481, 4.6162The Color 17.0070, 22.7481, 4.6162.33.0860, 22.7481, 51.3641The Color 33.0860, 22.7481, 51.3641.11.6191, 22.7481, 21.3772The Color 11.6191, 22.7481, 21.3772.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.33.0860, 22.7481, 51.3641The Color 33.0860, 22.7481, 51.3641.15.2379, 22.7481, 65.2205The Color 15.2379, 22.7481, 65.2205.13.1681, 22.7481, 9.4303The Color 13.1681, 22.7481, 9.4303.29.5771, 22.7481, 5.8777The Color 29.5771, 22.7481, 5.8777.33.0860, 22.7481, 51.3641The Color 33.0860, 22.7481, 51.3641.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.33.0860, 22.7481, 51.3641The Color 33.0860, 22.7481, 51.3641.11.8228, 22.7481, 34.3226The Color 11.8228, 22.7481, 34.3226.13.1681, 22.7481, 9.4303The Color 13.1681, 22.7481, 9.4303.35.7296, 22.7481, 17.1760The Color 35.7296, 22.7481, 17.1760.33.0860, 22.7481, 51.3641The Color 33.0860, 22.7481, 51.3641.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.33.0868, 22.7491, 51.3646The Color 33.0868, 22.7491, 51.3646.19.4759, 20.4902, 22.3138The Color 19.4759, 20.4902, 22.3138.92.9021, 97.7402, 106.4391The Color 92.9021, 97.7402, 106.4391.16.7884, 15.5327, 21.4986The Color 16.7884, 15.5327, 21.4986.20.0202, 17.3661, 51.0143The Color 20.0202, 17.3661, 51.0143.77.9365, 73.4501, 98.3487The Color 77.9365, 73.4501, 98.3487.33.0868, 22.7491, 51.3646The Color 33.0868, 22.7491, 51.3646.Sweetspot

SVG Images

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

#B664BE

Previews

White Background

This preview shows how the XYZ color 33.0860, 22.7481, 51.3641 looks on a white background.

The color contrast ratio for these colors is 3.78, 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 XYZ color 33.0860, 22.7481, 51.3641 looks on a black background.

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

XYZ 33.0860, 22.7481, 51.3641 Background

This preview shows how black text looks on a background with the XYZ color 33.0860, 22.7481, 51.3641.

This preview shows how white text looks on a background with the XYZ color 33.0860, 22.7481, 51.3641.


CSS Examples


The CSS property to change the color of the text to XYZ 33.0860, 22.7481, 51.3641 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(182, 100, 190) }.

This example shows how text in the color rgb(182, 100, 190) looks like.

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

Here you see how black text with a 4 pixel rgb(182, 100, 190) 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 33.0860, 22.7481, 51.3641 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(182, 100, 190) }.

If only the border color should be changed .border{ border-color:rgb(182, 100, 190) } can be used.

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

Background

The CSS property to change the background color of an element to XYZ 33.0860, 22.7481, 51.3641 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(182, 100, 190) }.

If only the background color should be changed .background{ background-color:rgb(182, 100, 190) } 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, "B664BE", 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 "295°, 47%, 75%" 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(295°, 47%, 75%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(54.81, 46.50, -33.60)", "CIELCH(55, 57.372, 324.149)", "YXY(22.7481, 0.3086, 0.2122)" and "CMYK(0.04, 0.47, 0.00, 0.25)".