Converting Colors

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

Conversions

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

FormatColor
HSL300°, 66%, 31%
CIELCh33, 64.919, 327.942
Yxy7.3553, 0.3203, 0.1674
Android (android.graphics.Color)4286847876 (0xFF841B84)
YUV70.3650, 30.3861, 54.0539

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


Details

The YUV color 70.3650, 30.3861, 54.0539 is a dark color, and the websafe version is hex 993399. A complement of this color would be 88.6350, -30.3861, -54.0539, and the grayscale version is 70.0000, 0.0000, 0.0000.

A 20% lighter version of the original color is 127.3110, 28.9337, 53.2243, and 32.6700, 24.3197, 39.7544 is the 20% darker color. If you saturate the color by 10%, you get 62.7340, 34.1481, 60.7463, and if you desaturate by 10%, it is 77.9960, 26.6240, 47.3615.

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 70.3650, 30.3861, 54.0539 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%.70.3650, 30.3861, 54.0539The Color 70.3650, 30.3861, 54.0539.255.0000, 0.0000, 0.0000The Color 255.0000, 0.0000, 0.0000.253.8260, 0.5788, 1.0296The Color 253.8260, 0.5788, 1.0296.236.8030, 8.9711, 15.9588The Color 236.8030, 8.9711, 15.9588.219.7800, 17.3635, 30.8879The Color 219.7800, 17.3635, 30.8879.203.3440, 25.4664, 45.3023The Color 203.3440, 25.4664, 45.3023.182.7350, 29.2176, 55.4834The Color 182.7350, 29.2176, 55.4834.155.0230, 29.0757, 54.3538The Color 155.0230, 29.0757, 54.3538.127.3110, 28.9337, 53.2243The Color 127.3110, 28.9337, 53.2243.99.3110, 28.9337, 53.2243The Color 99.3110, 28.9337, 53.2243.70.3650, 30.3861, 54.0539The Color 70.3650, 30.3861, 54.0539.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%.70.3650, 30.3861, 54.0539The Color 70.3650, 30.3861, 54.0539.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.1.2540, 4.8048, -1.0998The Color 1.2540, 4.8048, -1.0998.11.8780, 11.8921, 12.3850The Color 11.8780, 11.8921, 12.3850.22.7580, 17.3743, 27.3992The Color 22.7580, 17.3743, 27.3992.32.6700, 24.3197, 39.7544The Color 32.6700, 24.3197, 39.7544.43.4790, 30.8229, 53.9539The Color 43.4790, 30.8229, 53.9539.70.3650, 30.3861, 54.0539The Color 70.3650, 30.3861, 54.0539.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the YUV color 70.3650, 30.3861, 54.0539 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.70.3650, 30.3861, 54.0539The Color 70.3650, 30.3861, 54.0539.54.5160, 38.1996, 67.9535The Color 54.5160, 38.1996, 67.9535.55.1030, 37.9102, 67.4387The Color 55.1030, 37.9102, 67.4387.62.7340, 34.1481, 60.7463The Color 62.7340, 34.1481, 60.7463.70.3650, 30.3861, 54.0539The Color 70.3650, 30.3861, 54.0539.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.70.3650, 30.3861, 54.0539The Color 70.3650, 30.3861, 54.0539.140.2180, -4.0515, -7.2072The Color 140.2180, -4.0515, -7.2072.132.5870, -0.2894, -0.5148The Color 132.5870, -0.2894, -0.5148.124.3690, 3.7621, 6.6924The Color 124.3690, 3.7621, 6.6924.116.7380, 7.5242, 13.3848The Color 116.7380, 7.5242, 13.3848.109.1070, 11.2862, 20.0772The Color 109.1070, 11.2862, 20.0772.101.4760, 15.0483, 26.7695The Color 101.4760, 15.0483, 26.7695.93.8450, 18.8104, 33.4619The Color 93.8450, 18.8104, 33.4619.85.6270, 22.8619, 40.6691The Color 85.6270, 22.8619, 40.6691.77.9960, 26.6240, 47.3615The Color 77.9960, 26.6240, 47.3615.70.3650, 30.3861, 54.0539The Color 70.3650, 30.3861, 54.0539.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.73.5670, 47.0485, -17.1603The Color 73.5670, 47.0485, -17.1603.57.3020, 12.6691, 90.0661The Color 57.3020, 12.6691, 90.0661.70.3650, 30.3861, 54.0539The Color 70.3650, 30.3861, 54.0539.73.5670, 47.0485, -17.1603The Color 73.5670, 47.0485, -17.1603.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.70.3650, 30.3861, 54.0539The Color 70.3650, 30.3861, 54.0539.71.0750, 26.0920, -62.3328The Color 71.0750, 26.0920, -62.3328.72.7400, -35.8608, 22.1530The Color 72.7400, -35.8608, 22.1530.70.3650, 30.3861, 54.0539The Color 70.3650, 30.3861, 54.0539.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.70.3650, 30.3861, 54.0539The Color 70.3650, 30.3861, 54.0539.88.6350, -30.3861, -54.0539The Color 88.6350, -30.3861, -54.0539.70.3650, 30.3861, 54.0539The Color 70.3650, 30.3861, 54.0539.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.65.1470, 3.3785, -57.1339The Color 65.1470, 3.3785, -57.1339.65.1220, -32.1051, -15.8930The Color 65.1220, -32.1051, -15.8930.70.3650, 30.3861, 54.0539The Color 70.3650, 30.3861, 54.0539.65.1470, 3.3785, -57.1339The Color 65.1470, 3.3785, -57.1339.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.70.3650, 30.3861, 54.0539The Color 70.3650, 30.3861, 54.0539.74.4610, 44.1427, -65.3023The Color 74.4610, 44.1427, -65.3023.56.5460, -21.9612, -49.5908The Color 56.5460, -21.9612, -49.5908.69.4270, -34.2275, 58.3845The Color 69.4270, -34.2275, 58.3845.70.3650, 30.3861, 54.0539The Color 70.3650, 30.3861, 54.0539.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.70.3650, 30.3861, 54.0539The Color 70.3650, 30.3861, 54.0539.69.1370, 18.6665, -60.6331The Color 69.1370, 18.6665, -60.6331.56.5460, -21.9612, -49.5908The Color 56.5460, -21.9612, -49.5908.54.0240, -2.4768, 94.6950The Color 54.0240, -2.4768, 94.6950.70.3650, 30.3861, 54.0539The Color 70.3650, 30.3861, 54.0539.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.70.3650, 30.3861, 54.0539The Color 70.3650, 30.3861, 54.0539.87.0000, 0.0000, 0.0000The Color 87.0000, 0.0000, 0.0000.214.0000, 0.0000, 0.0000The Color 214.0000, 0.0000, 0.0000.72.3250, 7.2348, 12.8700The Color 72.3250, 7.2348, 12.8700.38.9700, 45.8638, -10.4977The Color 38.9700, 45.8638, -10.4977.146.9330, 11.8650, 21.1068The Color 146.9330, 11.8650, 21.1068.70.3650, 30.3861, 54.0539The Color 70.3650, 30.3861, 54.0539.Sweetspot

SVG Images

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

#841B84

Previews

White Background

This preview shows how the YUV color 70.3650, 30.3861, 54.0539 looks on a white background.

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

Black Background

This preview shows how the YUV color 70.3650, 30.3861, 54.0539 looks on a black background.

The color contrast ratio for these colors is 2.47, which fails to comply with the Web Content Accessibility Guidelines (WCAG) 2.0. Details can be found at https://www.w3.org/TR/WCAG20/.

YUV 70.3650, 30.3861, 54.0539 Background

This preview shows how black text looks on a background with the YUV color 70.3650, 30.3861, 54.0539.

This preview shows how white text looks on a background with the YUV color 70.3650, 30.3861, 54.0539.


CSS Examples


The CSS property to change the color of the text to YUV 70.3650, 30.3861, 54.0539 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(132, 27, 132) }.

This example shows how text in the color rgb(132, 27, 132) looks like.

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

Here you see how black text with a 4 pixel rgb(132, 27, 132) 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 70.3650, 30.3861, 54.0539 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(132, 27, 132) }.

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

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

Background

The CSS property to change the background color of an element to YUV 70.3650, 30.3861, 54.0539 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(132, 27, 132) }.

If only the background color should be changed .background{ background-color:rgb(132, 27, 132) } 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, "841B84", 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°, 80%, 52%" 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°, 80%, 52%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(32.60, 55.02, -34.46)", "CIELCH(33, 64.919, 327.942)", "YXY(7.3553, 0.3203, 0.1674)" and "CMYK(0.00, 0.80, 0.00, 0.48)".