Converting Colors

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

Conversions

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

FormatColor
HSL117°, 33%, 46%
CIELCh58, 51.597, 139.342
Yxy25.9722, 0.3090, 0.4815
Android (android.graphics.Color)4283604046 (0xFF529C4E)
YUV124.9820, -23.1621, -37.6952

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


Details

The XYZ color 16.6684, 25.9722, 11.3000 is a dark color, and the websafe version is hex 669933. A complement of this color would be 21.4792, 14.4048, 32.9045, and the grayscale version is 19.4798, 20.4942, 22.3182.

A 20% lighter version of the original color is 37.4101, 53.4078, 29.1059, and 5.5613, 10.1886, 2.9018 is the 20% darker color. If you saturate the color by 10%, you get 15.0320, 25.1862, 8.6584, and if you desaturate by 10%, it is 18.7116, 26.9543, 14.6497.

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 16.6684, 25.9722, 11.3000 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%.16.6684, 25.9722, 11.3000The Color 16.6684, 25.9722, 11.3000.226.4478, 282.6456, 210.5251The Color 226.4478, 282.6456, 210.5251.185.3687, 234.0337, 169.7758The Color 185.3687, 234.0337, 169.7758.149.5846, 191.3418, 134.6563The Color 149.5846, 191.3418, 134.6563.118.7302, 154.1857, 104.7482The Color 118.7302, 154.1857, 104.7482.92.4402, 122.1808, 79.6330The Color 92.4402, 122.1808, 79.6330.70.3492, 94.9429, 58.8920The Color 70.3492, 94.9429, 58.8920.52.0919, 72.0874, 42.1067The Color 52.0919, 72.0874, 42.1067.37.3029, 53.2301, 28.8587The Color 37.3029, 53.2301, 28.8587.25.6169, 37.9865, 18.7293The Color 25.6169, 37.9865, 18.7293.16.6684, 25.9722, 11.3000The Color 16.6684, 25.9722, 11.3000.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%.16.6684, 25.9722, 11.3000The Color 16.6684, 25.9722, 11.3000.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.0000, 0.8868, 0.0000The Color 0.0000, 0.8868, 0.0000.0.9434, 2.5204, 0.0000The Color 0.9434, 2.5204, 0.0000.2.5951, 5.4613, 1.0274The Color 2.5951, 5.4613, 1.0274.5.5229, 10.0940, 2.8676The Color 5.5229, 10.0940, 2.8676.10.0922, 16.8028, 6.1523The Color 10.0922, 16.8028, 6.1523.16.6684, 25.9722, 11.3000The Color 16.6684, 25.9722, 11.3000.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the XYZ color 16.6684, 25.9722, 11.3000 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.16.6684, 25.9722, 11.3000The Color 16.6684, 25.9722, 11.3000.11.9223, 23.6842, 3.9431The Color 11.9223, 23.6842, 3.9431.12.2652, 23.8505, 4.4301The Color 12.2652, 23.8505, 4.4301.12.8628, 24.1403, 5.2855The Color 12.8628, 24.1403, 5.2855.13.7734, 24.5800, 6.6725The Color 13.7734, 24.5800, 6.6725.15.0320, 25.1862, 8.6584The Color 15.0320, 25.1862, 8.6584.16.6684, 25.9722, 11.3000The Color 16.6684, 25.9722, 11.3000.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.16.6684, 25.9722, 11.3000The Color 16.6684, 25.9722, 11.3000.52.2668, 43.0240, 71.7269The Color 52.2668, 43.0240, 71.7269.46.2227, 40.1322, 61.3251The Color 46.2227, 40.1322, 61.3251.40.7414, 37.5089, 51.9193The Color 40.7414, 37.5089, 51.9193.35.8066, 35.1467, 43.4801The Color 35.8066, 35.1467, 43.4801.31.4017, 33.0373, 35.9770The Color 31.4017, 33.0373, 35.9770.27.5089, 31.1726, 29.3777The Color 27.5089, 31.1726, 29.3777.24.1097, 29.5435, 23.6479The Color 24.1097, 29.5435, 23.6479.21.1843, 28.1407, 18.7515The Color 21.1843, 28.1407, 18.7515.18.7116, 26.9543, 14.6497The Color 18.7116, 26.9543, 14.6497.16.6684, 25.9722, 11.3000The Color 16.6684, 25.9722, 11.3000.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.20.9273, 25.9722, 6.6901The Color 20.9273, 25.9722, 6.6901.14.6863, 25.9722, 22.3977The Color 14.6863, 25.9722, 22.3977.16.6684, 25.9722, 11.3000The Color 16.6684, 25.9722, 11.3000.20.9273, 25.9722, 6.6901The Color 20.9273, 25.9722, 6.6901.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.16.6684, 25.9722, 11.3000The Color 16.6684, 25.9722, 11.3000.37.8003, 25.9722, 18.3711The Color 37.8003, 25.9722, 18.3711.22.5362, 25.9722, 77.1626The Color 22.5362, 25.9722, 77.1626.16.6684, 25.9722, 11.3000The Color 16.6684, 25.9722, 11.3000.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.16.6684, 25.9722, 11.3000The Color 16.6684, 25.9722, 11.3000.21.4792, 14.4048, 32.9045The Color 21.4792, 14.4048, 32.9045.16.6684, 25.9722, 11.3000The Color 16.6684, 25.9722, 11.3000.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.38.4274, 25.9722, 35.1097The Color 38.4274, 25.9722, 35.1097.28.8694, 25.9722, 74.5669The Color 28.8694, 25.9722, 74.5669.16.6684, 25.9722, 11.3000The Color 16.6684, 25.9722, 11.3000.38.4274, 25.9722, 35.1097The Color 38.4274, 25.9722, 35.1097.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.16.6684, 25.9722, 11.3000The Color 16.6684, 25.9722, 11.3000.33.3412, 25.9722, 9.4221The Color 33.3412, 25.9722, 9.4221.34.9330, 25.9722, 57.0350The Color 34.9330, 25.9722, 57.0350.17.6752, 25.9722, 63.1019The Color 17.6752, 25.9722, 63.1019.16.6684, 25.9722, 11.3000The Color 16.6684, 25.9722, 11.3000.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.16.6684, 25.9722, 11.3000The Color 16.6684, 25.9722, 11.3000.38.4915, 25.9722, 23.0681The Color 38.4915, 25.9722, 23.0681.34.9330, 25.9722, 57.0350The Color 34.9330, 25.9722, 57.0350.14.6526, 25.9722, 34.2216The Color 14.6526, 25.9722, 34.2216.16.6684, 25.9722, 11.3000The Color 16.6684, 25.9722, 11.3000.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.16.6690, 25.9733, 11.3006The Color 16.6690, 25.9733, 11.3006.12.6291, 13.2868, 14.4694The Color 12.6291, 13.2868, 14.4694.74.8435, 78.7412, 85.7492The Color 74.8435, 78.7412, 85.7492.10.0529, 12.0526, 10.1103The Color 10.0529, 12.0526, 10.1103.25.9576, 29.5021, 11.4921The Color 25.9576, 29.5021, 11.4921.45.5780, 53.8064, 46.6278The Color 45.5780, 53.8064, 46.6278.16.6690, 25.9733, 11.3006The Color 16.6690, 25.9733, 11.3006.Sweetspot

SVG Images

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

#529C4E

Previews

White Background

This preview shows how the XYZ color 16.6684, 25.9722, 11.3000 looks on a white background.

The color contrast ratio for these colors is 3.37, 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 16.6684, 25.9722, 11.3000 looks on a black background.

The color contrast ratio for these colors is 6.22, 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 16.6684, 25.9722, 11.3000 Background

This preview shows how black text looks on a background with the XYZ color 16.6684, 25.9722, 11.3000.

This preview shows how white text looks on a background with the XYZ color 16.6684, 25.9722, 11.3000.


CSS Examples


The CSS property to change the color of the text to XYZ 16.6684, 25.9722, 11.3000 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(82, 156, 78) }.

This example shows how text in the color rgb(82, 156, 78) looks like.

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

Here you see how black text with a 4 pixel rgb(82, 156, 78) 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 16.6684, 25.9722, 11.3000 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(82, 156, 78) }.

If only the border color should be changed .border{ border-color:rgb(82, 156, 78) } can be used.

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

Background

The CSS property to change the background color of an element to XYZ 16.6684, 25.9722, 11.3000 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(82, 156, 78) }.

If only the background color should be changed .background{ background-color:rgb(82, 156, 78) } 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, "529C4E", 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 "117°, 50%, 61%" 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(117°, 50%, 61%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(58.01, -39.14, 33.62)", "CIELCH(58, 51.597, 139.342)", "YXY(25.9722, 0.3090, 0.4815)" and "CMYK(0.47, 0.00, 0.50, 0.39)".