Converting Colors

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

FormatColor
HSL127°, 0%, 59%
CIELCh62, 0.008, 295.991
Yxy30.9469, 0.3127, 0.3290
Android (android.graphics.Color)4288124823 (0xFF979797)
YUV151.0000, 0.0000, 0.0000

Add this color to the bucket
(The bucket allows you to create a color palette)

Go to the color bucket to see your palette.

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


Details

The XYZ color 29.4150, 30.9469, 33.7012 is a light color, and the websafe version is hex 999999. A complement of this color would be 29.4161, 30.9476, 33.7027, and the grayscale version is 29.4161, 30.9481, 33.7024.

A 20% lighter version of the original color is 58.0276, 61.0496, 66.4830, and 12.1130, 12.7438, 13.8780 is the 20% darker color. If you saturate the color by 10%, you get 25.7702, 29.1866, 28.2064, and if you desaturate by 10%, it is 33.5425, 32.9436, 39.8561.

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 29.4150, 30.9469, 33.7012 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%.29.4150, 30.9469, 33.7012The Color 29.4150, 30.9469, 33.7012.291.1270, 306.2936, 333.5260The Color 291.1270, 306.2936, 333.5260.242.2997, 254.9223, 277.5886The Color 242.2997, 254.9223, 277.5886.199.2619, 209.6423, 228.2837The Color 199.2619, 209.6423, 228.2837.161.6483, 170.0690, 185.1927The Color 161.6483, 170.0690, 185.1927.129.0935, 135.8182, 147.8971The Color 129.0935, 135.8182, 147.8971.101.2323, 106.5054, 115.9784The Color 101.2323, 106.5054, 115.9784.77.6992, 81.7463, 89.0180The Color 77.6992, 81.7463, 89.0180.58.1288, 61.1565, 66.5973The Color 58.1288, 61.1565, 66.5973.42.1559, 44.3514, 48.2979The Color 42.1559, 44.3514, 48.2979.29.4150, 30.9469, 33.7012The Color 29.4150, 30.9469, 33.7012.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%.29.4150, 30.9469, 33.7012The Color 29.4150, 30.9469, 33.7012.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.2592, 0.2726, 0.2974The Color 0.2592, 0.2726, 0.2974.1.4042, 1.4773, 1.6092The Color 1.4042, 1.4773, 1.6092.3.4651, 3.6454, 3.9705The Color 3.4651, 3.6454, 3.9705.6.9312, 7.2921, 7.9418The Color 6.9312, 7.2921, 7.9418.12.1680, 12.8016, 13.9417The Color 12.1680, 12.8016, 13.9417.19.5408, 20.5584, 22.3886The Color 19.5408, 20.5584, 22.3886.29.4150, 30.9469, 33.7012The Color 29.4150, 30.9469, 33.7012.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the XYZ color 29.4150, 30.9469, 33.7012 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.29.4150, 30.9469, 33.7012The Color 29.4150, 30.9469, 33.7012.11.5170, 22.3373, 5.0211The Color 11.5170, 22.3373, 5.0211.12.0743, 22.5998, 6.1675The Color 12.0743, 22.5998, 6.1675.12.9236, 23.0035, 7.7478The Color 12.9236, 23.0035, 7.7478.14.0985, 23.5650, 9.7995The Color 14.0985, 23.5650, 9.7995.15.6278, 24.2984, 12.3560The Color 15.6278, 24.2984, 12.3560.17.5372, 25.2163, 15.4480The Color 17.5372, 25.2163, 15.4480.19.8501, 26.3301, 19.1032The Color 19.8501, 26.3301, 19.1032.22.5878, 27.6503, 23.3479The Color 22.5878, 27.6503, 23.3479.25.7702, 29.1866, 28.2064The Color 25.7702, 29.1866, 28.2064.29.4150, 30.9469, 33.7012The Color 29.4150, 30.9469, 33.7012.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.29.4150, 30.9469, 33.7012The Color 29.4150, 30.9469, 33.7012.70.3572, 50.6144, 100.6691The Color 70.3572, 50.6144, 100.6691.68.6529, 49.9327, 91.6942The Color 68.6529, 49.9327, 91.6942.61.9457, 46.7002, 81.2081The Color 61.9457, 46.7002, 81.2081.55.1795, 43.4207, 71.4644The Color 55.1795, 43.4207, 71.4644.48.9704, 40.4123, 62.4754The Color 48.9704, 40.4123, 62.4754.43.3043, 37.6681, 54.2234The Color 43.3043, 37.6681, 54.2234.38.1667, 35.1810, 46.6900The Color 38.1667, 35.1810, 46.6900.33.5425, 32.9436, 39.8561The Color 33.5425, 32.9436, 39.8561.29.4150, 30.9469, 33.7012The Color 29.4150, 30.9469, 33.7012.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.29.4140, 30.9469, 33.7018The Color 29.4140, 30.9469, 33.7018.29.4158, 30.9469, 33.6992The Color 29.4158, 30.9469, 33.6992.29.4150, 30.9469, 33.7012The Color 29.4150, 30.9469, 33.7012.29.4140, 30.9469, 33.7018The Color 29.4140, 30.9469, 33.7018.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.29.4150, 30.9469, 33.7012The Color 29.4150, 30.9469, 33.7012.29.4121, 30.9469, 33.6955The Color 29.4121, 30.9469, 33.6955.29.4152, 30.9469, 33.6910The Color 29.4152, 30.9469, 33.6910.29.4150, 30.9469, 33.7012The Color 29.4150, 30.9469, 33.7012.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.29.4150, 30.9469, 33.7012The Color 29.4150, 30.9469, 33.7012.29.4161, 30.9476, 33.7027The Color 29.4161, 30.9476, 33.7027.29.4150, 30.9469, 33.7012The Color 29.4150, 30.9469, 33.7012.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.29.4124, 30.9469, 33.6926The Color 29.4124, 30.9469, 33.6926.29.4142, 30.9469, 33.6900The Color 29.4142, 30.9469, 33.6900.29.4150, 30.9469, 33.7012The Color 29.4150, 30.9469, 33.7012.29.4124, 30.9469, 33.6926The Color 29.4124, 30.9469, 33.6926.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.29.4150, 30.9469, 33.7012The Color 29.4150, 30.9469, 33.7012.29.4123, 30.9469, 33.6985The Color 29.4123, 30.9469, 33.6985.29.4132, 30.9469, 33.6906The Color 29.4132, 30.9469, 33.6906.29.4159, 30.9469, 33.6933The Color 29.4159, 30.9469, 33.6933.29.4150, 30.9469, 33.7012The Color 29.4150, 30.9469, 33.7012.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.29.4150, 30.9469, 33.7012The Color 29.4150, 30.9469, 33.7012.29.4121, 30.9469, 33.6945The Color 29.4121, 30.9469, 33.6945.29.4132, 30.9469, 33.6906The Color 29.4132, 30.9469, 33.6906.29.4161, 30.9469, 33.6973The Color 29.4161, 30.9469, 33.6973.29.4150, 30.9469, 33.7012The Color 29.4150, 30.9469, 33.7012.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.29.4159, 30.9482, 33.7019The Color 29.4159, 30.9482, 33.7019.72.9764, 76.7769, 83.6100The Color 72.9764, 76.7769, 83.6100.11.9732, 12.5967, 13.7178The Color 11.9732, 12.5967, 13.7178.29.4163, 30.9485, 33.7017The Color 29.4163, 30.9485, 33.7017.52.6788, 55.4222, 60.3547The Color 52.6788, 55.4222, 60.3547.29.4159, 30.9482, 33.7019The Color 29.4159, 30.9482, 33.7019.Sweetspot

SVG Images

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

#979797

Previews

White Background

This preview shows how the XYZ color 29.4150, 30.9469, 33.7012 looks on a white background.

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

Black Background

This preview shows how the XYZ color 29.4150, 30.9469, 33.7012 looks on a black background.

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

XYZ 29.4150, 30.9469, 33.7012 Background

This preview shows how black text looks on a background with the XYZ color 29.4150, 30.9469, 33.7012.

This preview shows how white text looks on a background with the XYZ color 29.4150, 30.9469, 33.7012.


CSS Examples


The CSS property to change the color of the text to XYZ 29.4150, 30.9469, 33.7012 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(151, 151, 151) }.

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

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

Here you see how black text with a 4 pixel rgb(151, 151, 151) 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 29.4150, 30.9469, 33.7012 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(151, 151, 151) }.

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

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

Background

The CSS property to change the background color of an element to XYZ 29.4150, 30.9469, 33.7012 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(151, 151, 151) }.

If only the background color should be changed .background{ background-color:rgb(151, 151, 151) } 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, "979797", 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 "127°, 0%, 59%" 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(127°, 0%, 59%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(62.46, 0.00, -0.01)", "CIELCH(62, 0.008, 295.991)", "YXY(30.9469, 0.3127, 0.3290)" and "CMYK(0.00, 0.00, 0.00, 0.41)".