Converting Colors

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

Conversions

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

FormatColor
HSL300°, 21%, 42%
CIELCh42, 31.250, 326.222
Yxy12.4884, 0.3165, 0.2475
Android (android.graphics.Color)4286600320 (0xFF805480)
YUV102.1720, 12.7332, 22.6512

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


Details

The YUV color 102.1720, 12.7332, 22.6512 is a dark color, and the websafe version is hex 996699. A complement of this color would be 109.8280, -12.7332, -22.6512, and the grayscale version is 102.0000, 0.0000, 0.0000.

A 20% lighter version of the original color is 153.7100, 13.4540, 24.8103, and 54.0470, 12.3018, 21.0068 is the 20% darker color. If you saturate the color by 10%, you get 94.5410, 16.4953, 29.3435, and if you desaturate by 10%, it is 109.8030, 8.9711, 15.9588.

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 YUV color 102.1720, 12.7332, 22.6512 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%.102.1720, 12.7332, 22.6512The Color 102.1720, 12.7332, 22.6512.255.0000, 0.0000, 0.0000The Color 255.0000, 0.0000, 0.0000.249.1300, 2.8939, 5.1480The Color 249.1300, 2.8939, 5.1480.232.1070, 11.2862, 20.0772The Color 232.1070, 11.2862, 20.0772.208.5360, 14.0328, 25.8399The Color 208.5360, 14.0328, 25.8399.180.8240, 13.8908, 24.7104The Color 180.8240, 13.8908, 24.7104.153.7100, 13.4540, 24.8103The Color 153.7100, 13.4540, 24.8103.127.5850, 13.0226, 23.1660The Color 127.5850, 13.0226, 23.1660.102.1720, 12.7332, 22.6512The Color 102.1720, 12.7332, 22.6512.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%.102.1720, 12.7332, 22.6512The Color 102.1720, 12.7332, 22.6512.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.1.0260, 3.9312, -0.8998The Color 1.0260, 3.9312, -0.8998.14.0420, 9.8393, 17.5032The Color 14.0420, 9.8393, 17.5032.31.3350, 12.1598, 19.8772The Color 31.3350, 12.1598, 19.8772.54.0470, 12.3018, 21.0068The Color 54.0470, 12.3018, 21.0068.77.4600, 12.5912, 21.5216The Color 77.4600, 12.5912, 21.5216.102.1720, 12.7332, 22.6512The Color 102.1720, 12.7332, 22.6512.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the YUV color 102.1720, 12.7332, 22.6512 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.102.1720, 12.7332, 22.6512The Color 102.1720, 12.7332, 22.6512.52.8640, 37.0420, 65.8943The Color 52.8640, 37.0420, 65.8943.56.9730, 35.0163, 62.2907The Color 56.9730, 35.0163, 62.2907.64.6040, 31.2542, 55.5983The Color 64.6040, 31.2542, 55.5983.72.2350, 27.4921, 48.9059The Color 72.2350, 27.4921, 48.9059.79.8660, 23.7301, 42.2135The Color 79.8660, 23.7301, 42.2135.86.9100, 20.2574, 36.0359The Color 86.9100, 20.2574, 36.0359.94.5410, 16.4953, 29.3435The Color 94.5410, 16.4953, 29.3435.102.1720, 12.7332, 22.6512The Color 102.1720, 12.7332, 22.6512.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.102.1720, 12.7332, 22.6512The Color 102.1720, 12.7332, 22.6512.169.6770, -20.5468, -36.5507The Color 169.6770, -20.5468, -36.5507.162.0460, -16.7847, -29.8583The Color 162.0460, -16.7847, -29.8583.155.0020, -13.3120, -23.6808The Color 155.0020, -13.3120, -23.6808.147.3710, -9.5499, -16.9884The Color 147.3710, -9.5499, -16.9884.139.7400, -5.7878, -10.2960The Color 139.7400, -5.7878, -10.2960.132.1090, -2.0257, -3.6036The Color 132.1090, -2.0257, -3.6036.124.4780, 1.7363, 3.0888The Color 124.4780, 1.7363, 3.0888.117.4340, 5.2090, 9.2664The Color 117.4340, 5.2090, 9.2664.109.8030, 8.9711, 15.9588The Color 109.8030, 8.9711, 15.9588.102.1720, 12.7332, 22.6512The Color 102.1720, 12.7332, 22.6512.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.100.4120, 21.9819, -3.8693The Color 100.4120, 21.9819, -3.8693.100.8830, 1.0437, 38.6906The Color 100.8830, 1.0437, 38.6906.102.1720, 12.7332, 22.6512The Color 102.1720, 12.7332, 22.6512.100.4120, 21.9819, -3.8693The Color 100.4120, 21.9819, -3.8693.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.102.1720, 12.7332, 22.6512The Color 102.1720, 12.7332, 22.6512.79.5380, 20.4408, -69.7548The Color 79.5380, 20.4408, -69.7548.96.9920, -24.6461, 18.4240The Color 96.9920, -24.6461, 18.4240.102.1720, 12.7332, 22.6512The Color 102.1720, 12.7332, 22.6512.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.102.1720, 12.7332, 22.6512The Color 102.1720, 12.7332, 22.6512.109.8280, -12.7332, -22.6512The Color 109.8280, -12.7332, -22.6512.102.1720, 12.7332, 22.6512The Color 102.1720, 12.7332, 22.6512.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.78.6670, 8.0522, -62.8520The Color 78.6670, 8.0522, -62.8520.94.3700, -21.3814, -2.0785The Color 94.3700, -21.3814, -2.0785.102.1720, 12.7332, 22.6512The Color 102.1720, 12.7332, 22.6512.78.6670, 8.0522, -62.8520The Color 78.6670, 8.0522, -62.8520.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.102.1720, 12.7332, 22.6512The Color 102.1720, 12.7332, 22.6512.80.0570, 30.0449, -70.2100The Color 80.0570, 30.0449, -70.2100.90.6750, -10.6858, -26.0250The Color 90.6750, -10.6858, -26.0250.98.5300, -20.4743, 33.7382The Color 98.5300, -20.4743, 33.7382.102.1720, 12.7332, 22.6512The Color 102.1720, 12.7332, 22.6512.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.102.1720, 12.7332, 22.6512The Color 102.1720, 12.7332, 22.6512.78.6260, 16.9464, -68.9550The Color 78.6260, 16.9464, -68.9550.90.6750, -10.6858, -26.0250The Color 90.6750, -10.6858, -26.0250.99.8420, -6.8241, 42.2346The Color 99.8420, -6.8241, 42.2346.102.1720, 12.7332, 22.6512The Color 102.1720, 12.7332, 22.6512.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.102.1720, 12.7332, 22.6512The Color 102.1720, 12.7332, 22.6512.84.0000, 0.0000, 0.0000The Color 84.0000, 0.0000, 0.0000.212.0000, 0.0000, 0.0000The Color 212.0000, 0.0000, 0.0000.78.1300, 2.8939, 5.1480The Color 78.1300, 2.8939, 5.1480.89.0160, 19.2191, -4.3990The Color 89.0160, 19.2191, -4.3990.156.0210, 4.9196, 8.7516The Color 156.0210, 4.9196, 8.7516.102.1720, 12.7332, 22.6512The Color 102.1720, 12.7332, 22.6512.Sweetspot

SVG Images

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

#805480

Previews

White Background

This preview shows how the YUV color 102.1720, 12.7332, 22.6512 looks on a white background.

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

Black Background

This preview shows how the YUV color 102.1720, 12.7332, 22.6512 looks on a black background.

The color contrast ratio for these colors is 3.50, which passes the AA level for large text above 18pt. Details can be found at https://www.w3.org/TR/WCAG20/.

YUV 102.1720, 12.7332, 22.6512 Background

This preview shows how black text looks on a background with the YUV color 102.1720, 12.7332, 22.6512.

This preview shows how white text looks on a background with the YUV color 102.1720, 12.7332, 22.6512.


CSS Examples


The CSS property to change the color of the text to YUV 102.1720, 12.7332, 22.6512 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(128, 84, 128) }.

This example shows how text in the color rgb(128, 84, 128) looks like.

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

Here you see how black text with a 4 pixel rgb(128, 84, 128) 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 YUV 102.1720, 12.7332, 22.6512 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(128, 84, 128) }.

If only the border color should be changed .border{ border-color:rgb(128, 84, 128) } can be used.

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

Background

The CSS property to change the background color of an element to YUV 102.1720, 12.7332, 22.6512 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(128, 84, 128) }.

If only the background color should be changed .background{ background-color:rgb(128, 84, 128) } 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, "805480", 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 "300°, 34%, 50%" 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(300°, 34%, 50%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(41.98, 25.97, -17.37)", "CIELCH(42, 31.250, 326.222)", "YXY(12.4884, 0.3165, 0.2475)" and "CMYK(0.00, 0.34, 0.00, 0.50)".