Converting Colors

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

Conversions

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

FormatColor
HSL119°, 100%, 26%
CIELCh48, 73.371, 135.922
Yxy16.5154, 0.3005, 0.5996
Android (android.graphics.Color)4278354944 (0xFF028400)
YUV78.0820, -38.4944, -66.7239

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


Details

The YUV color 78.0820, -38.4944, -66.7239 is a dark color, and the websafe version is hex 339900. A complement of this color would be 53.9180, 38.4944, 66.7239, and the grayscale version is 78.0000, 0.0000, 0.0000.

A 20% lighter version of the original color is 141.4090, -37.6696, -51.2247, and 47.5470, -23.4407, -41.6987 is the 20% darker color. If you saturate the color by 10%, you get 78.0820, -38.4944, -66.7239, and if you desaturate by 10%, it is 83.4510, -34.7323, -60.0315.

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 78.0820, -38.4944, -66.7239 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%.78.0820, -38.4944, -66.7239The Color 78.0820, -38.4944, -66.7239.255.0000, 0.0000, 0.0000The Color 255.0000, 0.0000, 0.0000.252.0360, -11.3567, 2.5994The Color 252.0360, -11.3567, 2.5994.241.2550, -20.3387, -9.8706The Color 241.2550, -20.3387, -9.8706.229.0930, -28.1468, -25.5146The Color 229.0930, -28.1468, -25.5146.217.3440, -35.6656, -40.6437The Color 217.3440, -35.6656, -40.6437.198.5510, -39.7116, -49.5952The Color 198.5510, -39.7116, -49.5952.170.3660, -39.1274, -50.3100The Color 170.3660, -39.1274, -50.3100.141.4090, -37.6696, -51.2247The Color 141.4090, -37.6696, -51.2247.113.0990, -37.5168, -53.5838The Color 113.0990, -37.5168, -53.5838.78.0820, -38.4944, -66.7239The Color 78.0820, -38.4944, -66.7239.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%.78.0820, -38.4944, -66.7239The Color 78.0820, -38.4944, -66.7239.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.19.9580, -9.8393, -17.5032The Color 19.9580, -9.8393, -17.5032.33.4590, -16.4953, -29.3435The Color 33.4590, -16.4953, -29.3435.47.5470, -23.4407, -41.6987The Color 47.5470, -23.4407, -41.6987.62.2220, -30.6754, -54.5687The Color 62.2220, -30.6754, -54.5687.78.0820, -38.4944, -66.7239The Color 78.0820, -38.4944, -66.7239.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the YUV color 78.0820, -38.4944, -66.7239 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.78.0820, -38.4944, -66.7239The Color 78.0820, -38.4944, -66.7239.126.6310, -3.7621, -6.6924The Color 126.6310, -3.7621, -6.6924.121.2620, -7.5242, -13.3848The Color 121.2620, -7.5242, -13.3848.115.7790, -11.7230, -19.9772The Color 115.7790, -11.7230, -19.9772.110.4100, -15.4851, -26.6696The Color 110.4100, -15.4851, -26.6696.105.0410, -19.2472, -33.3620The Color 105.0410, -19.2472, -33.3620.99.6720, -23.0093, -40.0543The Color 99.6720, -23.0093, -40.0543.94.3030, -26.7714, -46.7467The Color 94.3030, -26.7714, -46.7467.88.8200, -30.9703, -53.3391The Color 88.8200, -30.9703, -53.3391.83.4510, -34.7323, -60.0315The Color 83.4510, -34.7323, -60.0315.78.0820, -38.4944, -66.7239The Color 78.0820, -38.4944, -66.7239.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.102.4330, -50.4995, 4.0053The Color 102.4330, -50.4995, 4.0053.90.2400, -4.5553, -79.1405The Color 90.2400, -4.5553, -79.1405.78.0820, -38.4944, -66.7239The Color 78.0820, -38.4944, -66.7239.102.4330, -50.4995, 4.0053The Color 102.4330, -50.4995, 4.0053.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.78.0820, -38.4944, -66.7239The Color 78.0820, -38.4944, -66.7239.91.3790, -4.1308, 111.9236The Color 91.3790, -4.1308, 111.9236.102.3990, 64.8793, -89.8039The Color 102.3990, 64.8793, -89.8039.78.0820, -38.4944, -66.7239The Color 78.0820, -38.4944, -66.7239.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.78.0820, -38.4944, -66.7239The Color 78.0820, -38.4944, -66.7239.53.9180, 38.4944, 66.7239The Color 53.9180, 38.4944, 66.7239.78.0820, -38.4944, -66.7239The Color 78.0820, -38.4944, -66.7239.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.99.5550, 22.4044, 94.2293The Color 99.5550, 22.4044, 94.2293.91.2460, 70.3777, -80.0227The Color 91.2460, 70.3777, -80.0227.78.0820, -38.4944, -66.7239The Color 78.0820, -38.4944, -66.7239.99.5550, 22.4044, 94.2293The Color 99.5550, 22.4044, 94.2293.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.78.0820, -38.4944, -66.7239The Color 78.0820, -38.4944, -66.7239.102.4090, -40.1346, 86.4643The Color 102.4090, -40.1346, 86.4643.114.9310, 41.9390, 35.1405The Color 114.9310, 41.9390, 35.1405.103.4470, 48.5866, -90.7230The Color 103.4470, 48.5866, -90.7230.78.0820, -38.4944, -66.7239The Color 78.0820, -38.4944, -66.7239.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.78.0820, -38.4944, -66.7239The Color 78.0820, -38.4944, -66.7239.89.0770, 7.3570, 113.9425The Color 89.0770, 7.3570, 113.9425.114.9310, 41.9390, 35.1405The Color 114.9310, 41.9390, 35.1405.95.7290, 13.9376, -83.9543The Color 95.7290, 13.9376, -83.9543.78.0820, -38.4944, -66.7239The Color 78.0820, -38.4944, -66.7239.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.78.0820, -38.4944, -66.7239The Color 78.0820, -38.4944, -66.7239.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.74.0830, -9.4079, -15.8588The Color 74.0830, -9.4079, -15.8588.115.7780, -57.0786, 14.2267The Color 115.7780, -57.0786, 14.2267.149.9370, -14.7589, -26.2547The Color 149.9370, -14.7589, -26.2547.78.0820, -38.4944, -66.7239The Color 78.0820, -38.4944, -66.7239.Sweetspot

SVG Images

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

#028400

Previews

White Background

This preview shows how the YUV color 78.0820, -38.4944, -66.7239 looks on a white background.

The color contrast ratio for these colors is 4.88, 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 78.0820, -38.4944, -66.7239 looks on a black background.

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

YUV 78.0820, -38.4944, -66.7239 Background

This preview shows how black text looks on a background with the YUV color 78.0820, -38.4944, -66.7239.

This preview shows how white text looks on a background with the YUV color 78.0820, -38.4944, -66.7239.


CSS Examples


The CSS property to change the color of the text to YUV 78.0820, -38.4944, -66.7239 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(2, 132, 0) }.

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

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

Here you see how black text with a 4 pixel rgb(2, 132, 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 78.0820, -38.4944, -66.7239 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(2, 132, 0) }.

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

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

Background

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

If only the background color should be changed .background{ background-color:rgb(2, 132, 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, "028400", 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 "119°, 100%, 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(119°, 100%, 52%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(47.64, -52.71, 51.04)", "CIELCH(48, 73.371, 135.922)", "YXY(16.5154, 0.3005, 0.5996)" and "CMYK(0.98, 0.00, 1.00, 0.48)".