Converting Colors

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

Conversions

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

FormatColor
HSL305°, 5%, 54%
CIELCh57, 7.173, 327.393
Yxy24.6875, 0.3146, 0.3126
Android (android.graphics.Color)4287661455 (0xFF90858F)
YUV137.4290, 2.7465, 5.7628

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


Details

The XYZ color 24.8471, 24.6875, 29.4422 is a dark color, and the websafe version is hex 999999. A complement of this color would be 23.9502, 26.6551, 26.4382, and the grayscale version is 23.9299, 25.1761, 27.4168.

A 20% lighter version of the original color is 50.9257, 51.1548, 60.0131, and 9.7622, 9.5106, 11.6771 is the 20% darker color. If you saturate the color by 10%, you get 22.9108, 20.9725, 28.3103, and if you desaturate by 10%, it is 27.0562, 28.9457, 30.6713.

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 24.8471, 24.6875, 29.4422 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%.24.8471, 24.6875, 29.4422The Color 24.8471, 24.6875, 29.4422.269.4373, 276.2781, 313.4217The Color 269.4373, 276.2781, 313.4217.223.1397, 228.4217, 259.8233The Color 223.1397, 228.4217, 259.8233.182.4747, 186.4377, 212.7129The Color 182.4747, 186.4377, 212.7129.147.0772, 149.9418, 171.6717The Color 147.0772, 149.9418, 171.6717.116.5817, 118.5494, 136.2813The Color 116.5817, 118.5494, 136.2813.90.6228, 91.8762, 106.1232The Color 90.6228, 91.8762, 106.1232.68.8353, 69.5378, 80.7787The Color 68.8353, 69.5378, 80.7787.50.8537, 51.1498, 59.8295The Color 50.8537, 51.1498, 59.8295.36.3128, 36.3278, 42.8568The Color 36.3128, 36.3278, 42.8568.24.8471, 24.6875, 29.4422The Color 24.8471, 24.6875, 29.4422.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%.24.8471, 24.6875, 29.4422The Color 24.8471, 24.6875, 29.4422.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.8600, 0.7494, 1.0915The Color 0.8600, 0.7494, 1.0915.2.4297, 2.2545, 2.9938The Color 2.4297, 2.2545, 2.9938.5.2480, 5.0123, 6.3615The Color 5.2480, 5.0123, 6.3615.9.6800, 9.4141, 11.6131The Color 9.6800, 9.4141, 11.6131.16.0913, 15.8444, 19.1671The Color 16.0913, 15.8444, 19.1671.24.8471, 24.6875, 29.4422The Color 24.8471, 24.6875, 29.4422.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the XYZ color 24.8471, 24.6875, 29.4422 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.24.8471, 24.6875, 29.4422The Color 24.8471, 24.6875, 29.4422.15.6499, 7.6477, 22.1996The Color 15.6499, 7.6477, 22.1996.15.9156, 8.0359, 22.7298The Color 15.9156, 8.0359, 22.7298.16.3152, 8.6899, 23.3103The Color 16.3152, 8.6899, 23.3103.16.8857, 9.6841, 23.9533The Color 16.8857, 9.6841, 23.9533.17.6468, 11.0576, 24.6655The Color 17.6468, 11.0576, 24.6655.18.6155, 12.8445, 25.4524The Color 18.6155, 12.8445, 25.4524.19.8068, 15.0747, 26.3192The Color 19.8068, 15.0747, 26.3192.21.2344, 17.7757, 27.2705The Color 21.2344, 17.7757, 27.2705.22.9108, 20.9725, 28.3103The Color 22.9108, 20.9725, 28.3103.24.8471, 24.6875, 29.4422The Color 24.8471, 24.6875, 29.4422.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.24.8471, 24.6875, 29.4422The Color 24.8471, 24.6875, 29.4422.53.1606, 79.8089, 43.5206The Color 53.1606, 79.8089, 43.5206.50.9216, 75.5057, 42.2354The Color 50.9216, 75.5057, 42.2354.46.5504, 66.9362, 40.2453The Color 46.5504, 66.9362, 40.2453.42.5135, 59.0334, 38.3725The Color 42.5135, 59.0334, 38.3725.38.8030, 51.7815, 36.6143The Color 38.8030, 51.7815, 36.6143.35.4107, 45.1642, 34.9681The Color 35.4107, 45.1642, 34.9681.32.3281, 39.1644, 33.4308The Color 32.3281, 39.1644, 33.4308.29.5464, 33.7644, 31.9996The Color 29.5464, 33.7644, 31.9996.27.0562, 28.9457, 30.6713The Color 27.0562, 28.9457, 30.6713.24.8471, 24.6875, 29.4422The Color 24.8471, 24.6875, 29.4422.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.24.2132, 24.6875, 31.1852The Color 24.2132, 24.6875, 31.1852.25.1099, 24.6875, 27.0907The Color 25.1099, 24.6875, 27.0907.24.8471, 24.6875, 29.4422The Color 24.8471, 24.6875, 29.4422.24.2132, 24.6875, 31.1852The Color 24.2132, 24.6875, 31.1852.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.24.8471, 24.6875, 29.4422The Color 24.8471, 24.6875, 29.4422.22.0643, 24.6875, 29.0580The Color 22.0643, 24.6875, 29.0580.23.5380, 24.6875, 22.5329The Color 23.5380, 24.6875, 22.5329.24.8471, 24.6875, 29.4422The Color 24.8471, 24.6875, 29.4422.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.24.8471, 24.6875, 29.4422The Color 24.8471, 24.6875, 29.4422.23.9502, 26.6551, 26.4382The Color 23.9502, 26.6551, 26.4382.24.8471, 24.6875, 29.4422The Color 24.8471, 24.6875, 29.4422.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.21.8930, 24.6875, 26.6714The Color 21.8930, 24.6875, 26.6714.22.7318, 24.6875, 22.9914The Color 22.7318, 24.6875, 22.9914.24.8471, 24.6875, 29.4422The Color 24.8471, 24.6875, 29.4422.21.8930, 24.6875, 26.6714The Color 21.8930, 24.6875, 26.6714.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.24.8471, 24.6875, 29.4422The Color 24.8471, 24.6875, 29.4422.22.6079, 24.6875, 30.9542The Color 22.6079, 24.6875, 30.9542.22.1346, 24.6875, 24.4719The Color 22.1346, 24.6875, 24.4719.24.3429, 24.6875, 23.1808The Color 24.3429, 24.6875, 23.1808.24.8471, 24.6875, 29.4422The Color 24.8471, 24.6875, 29.4422.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.24.8471, 24.6875, 29.4422The Color 24.8471, 24.6875, 29.4422.21.9618, 24.6875, 28.2823The Color 21.9618, 24.6875, 28.2823.22.1346, 24.6875, 24.4719The Color 22.1346, 24.6875, 24.4719.25.0347, 24.6875, 25.5257The Color 25.0347, 24.6875, 25.5257.24.8471, 24.6875, 29.4422The Color 24.8471, 24.6875, 29.4422.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.24.8478, 24.6886, 29.4427The Color 24.8478, 24.6886, 29.4427.10.7221, 11.2805, 12.2844The Color 10.7221, 11.2805, 12.2844.69.3244, 72.9347, 79.4259The Color 69.3244, 72.9347, 79.4259.10.5478, 10.9443, 12.1882The Color 10.5478, 10.9443, 12.1882.23.2409, 23.8514, 29.7650The Color 23.2409, 23.8514, 29.7650.45.9446, 47.6261, 53.1205The Color 45.9446, 47.6261, 53.1205.24.8478, 24.6886, 29.4427The Color 24.8478, 24.6886, 29.4427.Sweetspot

SVG Images

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

#90858F

Previews

White Background

This preview shows how the XYZ color 24.8471, 24.6875, 29.4422 looks on a white background.

The color contrast ratio for these colors is 3.54, 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 24.8471, 24.6875, 29.4422 looks on a black background.

The color contrast ratio for these colors is 5.94, 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 24.8471, 24.6875, 29.4422 Background

This preview shows how black text looks on a background with the XYZ color 24.8471, 24.6875, 29.4422.

This preview shows how white text looks on a background with the XYZ color 24.8471, 24.6875, 29.4422.


CSS Examples


The CSS property to change the color of the text to XYZ 24.8471, 24.6875, 29.4422 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(144, 133, 143) }.

This example shows how text in the color rgb(144, 133, 143) looks like.

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

Here you see how black text with a 4 pixel rgb(144, 133, 143) 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 24.8471, 24.6875, 29.4422 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(144, 133, 143) }.

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

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

Background

The CSS property to change the background color of an element to XYZ 24.8471, 24.6875, 29.4422 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(144, 133, 143) }.

If only the background color should be changed .background{ background-color:rgb(144, 133, 143) } 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, "90858F", 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 "305°, 8%, 56%" 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(305°, 8%, 56%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(56.77, 6.04, -3.87)", "CIELCH(57, 7.173, 327.393)", "YXY(24.6875, 0.3146, 0.3126)" and "CMYK(0.00, 0.08, 0.01, 0.44)".