Converting Colors

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

Conversions

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

FormatColor
HSL0°, 100%, 18%
CIELCh17, 46.587, 34.657
Yxy2.3272, 0.6401, 0.3300
Android (android.graphics.Color)4284284928 (0xFF5D0000)
YUV27.8070, -13.7089, 57.1743

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


Details

The YUV color 27.8070, -13.7089, 57.1743 is a dark color, and the websafe version is hex 660000. A complement of this color would be 65.1930, 13.7089, -57.1743, and the grayscale version is 28.0000, 0.0000, 0.0000.

A 20% lighter version of the original color is 83.6670, -18.0768, 58.1740, and 11.7750, -5.3121, 23.8763 is the 20% darker color. If you saturate the color by 10%, you get 27.8070, -13.7089, 57.1743, and if you desaturate by 10%, it is 34.1160, -12.3822, 51.6413.

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 27.8070, -13.7089, 57.1743 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%.27.8070, -13.7089, 57.1743The Color 27.8070, -13.7089, 57.1743.246.2970, -10.4994, 7.6325The Color 246.2970, -10.4994, 7.6325.226.0820, -14.3374, 25.3611The Color 226.0820, -14.3374, 25.3611.206.5680, -18.0280, 42.4749The Color 206.5680, -18.0280, 42.4749.187.1680, -21.2818, 59.4887The Color 187.1680, -21.2818, 59.4887.163.5710, -22.4665, 66.1512The Color 163.5710, -22.4665, 66.1512.136.4890, -21.4401, 63.5921The Color 136.4890, -21.4401, 63.5921.109.5210, -19.9769, 60.9331The Color 109.5210, -19.9769, 60.9331.83.6670, -18.0768, 58.1740The Color 83.6670, -18.0768, 58.1740.57.3400, -15.4506, 55.8298The Color 57.3400, -15.4506, 55.8298.27.8070, -13.7089, 57.1743The Color 27.8070, -13.7089, 57.1743.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%.27.8070, -13.7089, 57.1743The Color 27.8070, -13.7089, 57.1743.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.11.7750, -5.3121, 23.8763The Color 11.7750, -5.3121, 23.8763.19.4350, -9.5815, 39.9605The Color 19.4350, -9.5815, 39.9605.27.8070, -13.7089, 57.1743The Color 27.8070, -13.7089, 57.1743.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the YUV color 27.8070, -13.7089, 57.1743 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.27.8070, -13.7089, 57.1743The Color 27.8070, -13.7089, 57.1743.86.6910, -1.3267, 5.5330The Color 86.6910, -1.3267, 5.5330.79.6810, -2.8007, 11.6808The Color 79.6810, -2.8007, 11.6808.73.3720, -4.1274, 17.2138The Color 73.3720, -4.1274, 17.2138.67.0630, -5.4541, 22.7467The Color 67.0630, -5.4541, 22.7467.60.7540, -6.7807, 28.2797The Color 60.7540, -6.7807, 28.2797.53.7440, -8.2548, 34.4275The Color 53.7440, -8.2548, 34.4275.47.4350, -9.5815, 39.9605The Color 47.4350, -9.5815, 39.9605.41.1260, -10.9081, 45.4935The Color 41.1260, -10.9081, 45.4935.34.1160, -12.3822, 51.6413The Color 34.1160, -12.3822, 51.6413.27.8070, -13.7089, 57.1743The Color 27.8070, -13.7089, 57.1743.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.33.4490, 2.7366, 55.7342The Color 33.4490, 2.7366, 55.7342.38.8610, -19.1585, 31.6939The Color 38.8610, -19.1585, 31.6939.27.8070, -13.7089, 57.1743The Color 27.8070, -13.7089, 57.1743.33.4490, 2.7366, 55.7342The Color 33.4490, 2.7366, 55.7342.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.27.8070, -13.7089, 57.1743The Color 27.8070, -13.7089, 57.1743.38.9550, 35.0252, -34.1635The Color 38.9550, 35.0252, -34.1635.32.7240, -11.6959, -28.6989The Color 32.7240, -11.6959, -28.6989.27.8070, -13.7089, 57.1743The Color 27.8070, -13.7089, 57.1743.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.27.8070, -13.7089, 57.1743The Color 27.8070, -13.7089, 57.1743.65.1930, 13.7089, -57.1743The Color 65.1930, 13.7089, -57.1743.27.8070, -13.7089, 57.1743The Color 27.8070, -13.7089, 57.1743.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.42.8530, 29.6525, -37.5821The Color 42.8530, 29.6525, -37.5821.37.6430, 4.6130, -33.0129The Color 37.6430, 4.6130, -33.0129.27.8070, -13.7089, 57.1743The Color 27.8070, -13.7089, 57.1743.42.8530, 29.6525, -37.5821The Color 42.8530, 29.6525, -37.5821.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.27.8070, -13.7089, 57.1743The Color 27.8070, -13.7089, 57.1743.41.9380, 27.6386, 1.8084The Color 41.9380, 27.6386, 1.8084.41.4050, 19.0273, -36.3122The Color 41.4050, 19.0273, -36.3122.32.3400, -15.9436, -19.5922The Color 32.3400, -15.9436, -19.5922.27.8070, -13.7089, 57.1743The Color 27.8070, -13.7089, 57.1743.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.27.8070, -13.7089, 57.1743The Color 27.8070, -13.7089, 57.1743.41.3030, 33.8676, -36.2227The Color 41.3030, 33.8676, -36.2227.41.4050, 19.0273, -36.3122The Color 41.4050, 19.0273, -36.3122.40.2350, -19.8359, 15.5799The Color 40.2350, -19.8359, 15.5799.27.8070, -13.7089, 57.1743The Color 27.8070, -13.7089, 57.1743.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.27.8070, -13.7089, 57.1743The Color 27.8070, -13.7089, 57.1743.61.0000, 0.0000, 0.0000The Color 61.0000, 0.0000, 0.0000.189.0000, 0.0000, 0.0000The Color 189.0000, 0.0000, 0.0000.45.5780, -3.2430, 13.5251The Color 45.5780, -3.2430, 13.5251.38.4090, 26.9134, 47.8763The Color 38.4090, 26.9134, 47.8763.94.7640, -5.3067, 22.1320The Color 94.7640, -5.3067, 22.1320.27.8070, -13.7089, 57.1743The Color 27.8070, -13.7089, 57.1743.Sweetspot

SVG Images

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

#5D0000

Previews

White Background

This preview shows how the YUV color 27.8070, -13.7089, 57.1743 looks on a white background.

The color contrast ratio for these colors is 14.33, 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 27.8070, -13.7089, 57.1743 looks on a black background.

The color contrast ratio for these colors is 1.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 27.8070, -13.7089, 57.1743 Background

This preview shows how black text looks on a background with the YUV color 27.8070, -13.7089, 57.1743.

This preview shows how white text looks on a background with the YUV color 27.8070, -13.7089, 57.1743.


CSS Examples


The CSS property to change the color of the text to YUV 27.8070, -13.7089, 57.1743 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(93, 0, 0) }.

This example shows how text in the color rgb(93, 0, 0) looks like.

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

Here you see how black text with a 4 pixel rgb(93, 0, 0) 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 27.8070, -13.7089, 57.1743 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(93, 0, 0) }.

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

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

Background

The CSS property to change the background color of an element to YUV 27.8070, -13.7089, 57.1743 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(93, 0, 0) }.

If only the background color should be changed .background{ background-color:rgb(93, 0, 0) } 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, "5D0000", 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 "0°, 100%, 36%" 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(0°, 100%, 36%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(17.12, 38.32, 26.49)", "CIELCH(17, 46.587, 34.657)", "YXY(2.3272, 0.6401, 0.3300)" and "CMYK(0.00, 1.00, 1.00, 0.64)".