Converting Colors

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

Conversions

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

FormatColor
HSL151°, 0%, 78%
CIELCh80, 0.011, 296.578
Yxy57.0698, 0.3127, 0.3290
Android (android.graphics.Color)4291282887 (0xFFC7C7C7)
YUV199.0000, 0.0000, 0.0000

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


Details

The XYZ color 54.2450, 57.0698, 62.1500 is a light color, and the websafe version is hex CCCCCC. A complement of this color would be 54.2467, 57.0712, 62.1510, and the grayscale version is 54.2470, 57.0720, 62.1514.

A 20% lighter version of the original color is 95.0500, 100.0000, 108.9000, and 26.9133, 28.3149, 30.8349 is the 20% darker color. If you saturate the color by 10%, you get 48.2337, 54.0969, 56.2491, and if you desaturate by 10%, it is 61.0195, 60.4313, 68.4542.

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 54.2450, 57.0698, 62.1500 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%.54.2450, 57.0698, 62.1500The Color 54.2450, 57.0698, 62.1500.393.2267, 413.7108, 450.5008The Color 393.2267, 413.7108, 450.5008.333.2189, 350.5767, 381.7543The Color 333.2189, 350.5767, 381.7543.279.6494, 294.2163, 320.3835The Color 279.6494, 294.2163, 320.3835.232.1528, 244.2453, 265.9698The Color 232.1528, 244.2453, 265.9698.190.3638, 200.2793, 218.0948The Color 190.3638, 200.2793, 218.0948.153.9170, 161.9338, 176.3398The Color 153.9170, 161.9338, 176.3398.122.4471, 128.8245, 140.2864The Color 122.4471, 128.8245, 140.2864.95.5887, 100.5670, 109.5160The Color 95.5887, 100.5670, 109.5160.72.9764, 76.7769, 83.6100The Color 72.9764, 76.7769, 83.6100.54.2450, 57.0698, 62.1500The Color 54.2450, 57.0698, 62.1500.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%.54.2450, 57.0698, 62.1500The Color 54.2450, 57.0698, 62.1500.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.0231, 0.0242, 0.0270The Color 0.0231, 0.0242, 0.0270.1.0976, 1.1547, 1.2581The Color 1.0976, 1.1547, 1.2581.2.8934, 3.0439, 3.3158The Color 2.8934, 3.0439, 3.3158.6.0125, 6.3253, 6.8897The Color 6.0125, 6.3253, 6.8897.10.8202, 11.3834, 12.3982The Color 10.8202, 11.3834, 12.3982.17.6820, 18.6025, 20.2600The Color 17.6820, 18.6025, 20.2600.26.9631, 28.3670, 30.8935The Color 26.9631, 28.3670, 30.8935.39.0290, 41.0613, 44.7173The Color 39.0290, 41.0613, 44.7173.54.2450, 57.0698, 62.1500The Color 54.2450, 57.0698, 62.1500.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the XYZ color 54.2450, 57.0698, 62.1500 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.54.2450, 57.0698, 62.1500The Color 54.2450, 57.0698, 62.1500.23.6621, 42.1527, 22.4386The Color 23.6621, 42.1527, 22.4386.24.8091, 42.6785, 25.4491The Color 24.8091, 42.6785, 25.4491.26.4116, 43.4324, 28.7865The Color 26.4116, 43.4324, 28.7865.28.5250, 44.4428, 32.4618The Color 28.5250, 44.4428, 32.4618.31.1963, 45.7336, 36.4852The Color 31.1963, 45.7336, 36.4852.34.4671, 47.3261, 40.8666The Color 34.4671, 47.3261, 40.8666.38.3745, 49.2394, 45.6152The Color 38.3745, 49.2394, 45.6152.42.9528, 51.4910, 50.7398The Color 42.9528, 51.4910, 50.7398.48.2337, 54.0969, 56.2491The Color 48.2337, 54.0969, 56.2491.54.2450, 57.0698, 62.1500The Color 54.2450, 57.0698, 62.1500.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.54.2450, 57.0698, 62.1500The Color 54.2450, 57.0698, 62.1500.79.6992, 69.2984, 103.7831The Color 79.6992, 69.2984, 103.7831.78.4096, 68.7826, 96.9918The Color 78.4096, 68.7826, 96.9918.76.9706, 68.2070, 89.4142The Color 76.9706, 68.2070, 89.4142.75.6064, 67.6613, 82.2303The Color 75.6064, 67.6613, 82.2303.68.5788, 64.1875, 75.1657The Color 68.5788, 64.1875, 75.1657.61.0195, 60.4313, 68.4542The Color 61.0195, 60.4313, 68.4542.54.2450, 57.0698, 62.1500The Color 54.2450, 57.0698, 62.1500.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.54.2429, 57.0698, 62.1512The Color 54.2429, 57.0698, 62.1512.54.2466, 57.0698, 62.1459The Color 54.2466, 57.0698, 62.1459.54.2450, 57.0698, 62.1500The Color 54.2450, 57.0698, 62.1500.54.2429, 57.0698, 62.1512The Color 54.2429, 57.0698, 62.1512.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.54.2450, 57.0698, 62.1500The Color 54.2450, 57.0698, 62.1500.54.2390, 57.0698, 62.1386The Color 54.2390, 57.0698, 62.1386.54.2454, 57.0698, 62.1293The Color 54.2454, 57.0698, 62.1293.54.2450, 57.0698, 62.1500The Color 54.2450, 57.0698, 62.1500.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.54.2450, 57.0698, 62.1500The Color 54.2450, 57.0698, 62.1500.54.2467, 57.0712, 62.1510The Color 54.2467, 57.0712, 62.1510.54.2450, 57.0698, 62.1500The Color 54.2450, 57.0698, 62.1500.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.54.2396, 57.0698, 62.1327The Color 54.2396, 57.0698, 62.1327.54.2434, 57.0698, 62.1274The Color 54.2434, 57.0698, 62.1274.54.2450, 57.0698, 62.1500The Color 54.2450, 57.0698, 62.1500.54.2396, 57.0698, 62.1327The Color 54.2396, 57.0698, 62.1327.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.54.2450, 57.0698, 62.1500The Color 54.2450, 57.0698, 62.1500.54.2394, 57.0698, 62.1447The Color 54.2394, 57.0698, 62.1447.54.2413, 57.0698, 62.1286The Color 54.2413, 57.0698, 62.1286.54.2469, 57.0698, 62.1340The Color 54.2469, 57.0698, 62.1340.54.2450, 57.0698, 62.1500The Color 54.2450, 57.0698, 62.1500.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.54.2450, 57.0698, 62.1500The Color 54.2450, 57.0698, 62.1500.54.2391, 57.0698, 62.1365The Color 54.2391, 57.0698, 62.1365.54.2413, 57.0698, 62.1286The Color 54.2413, 57.0698, 62.1286.54.2472, 57.0698, 62.1421The Color 54.2472, 57.0698, 62.1421.54.2450, 57.0698, 62.1500The Color 54.2450, 57.0698, 62.1500.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.54.2466, 57.0723, 62.1512The Color 54.2466, 57.0723, 62.1512.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.20.3446, 21.4041, 23.3091The Color 20.3446, 21.4041, 23.3091.54.2468, 57.0724, 62.1502The Color 54.2468, 57.0724, 62.1502.95.0500, 100.0000, 108.9000The Color 95.0500, 100.0000, 108.9000.54.2466, 57.0723, 62.1512The Color 54.2466, 57.0723, 62.1512.Sweetspot

SVG Images

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

#C7C7C7

Previews

White Background

This preview shows how the XYZ color 54.2450, 57.0698, 62.1500 looks on a white background.

The color contrast ratio for these colors is 1.69, 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 54.2450, 57.0698, 62.1500 looks on a black background.

The color contrast ratio for these colors is 12.42, 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 54.2450, 57.0698, 62.1500 Background

This preview shows how black text looks on a background with the XYZ color 54.2450, 57.0698, 62.1500.

This preview shows how white text looks on a background with the XYZ color 54.2450, 57.0698, 62.1500.


CSS Examples


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

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

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

Here you see how black text with a 4 pixel rgb(199, 199, 199) 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 54.2450, 57.0698, 62.1500 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(199, 199, 199) }.

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

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

Background

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

If only the background color should be changed .background{ background-color:rgb(199, 199, 199) } 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, "C7C7C7", 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 "151°, 0%, 78%" 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(151°, 0%, 78%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(80.22, 0.00, -0.01)", "CIELCH(80, 0.011, 296.578)", "YXY(57.0698, 0.3127, 0.3290)" and "CMYK(0.00, 0.00, 0.00, 0.22)".