Converting Colors

Advertisment

Conversions · Details · Harmonies · Images · Preview · Color Blindness Simulation · CSS · Help

Conversions

Here you see your color converted to 15 different color formats like RGB, CMYK, HSV, HSL, CIELab, Android, Decimal, and YUV. 🎁 Convert multiple colors at once or get Conversions and Harmonies via the REST API.

Conversions Part 2
FormatColor
RYB140, 140, 140
Decimal9211020
CIELab58.35, 0.00, -0.01
CIELCh58, 0.008, 296.494
Yxy26.3273, 0.3127, 0.3290
Android (android.graphics.Color)4287401100 (0xFF8C8C8C)
YUV140.0000, 0.0000, 0.0000

Details

The XYZ color 25.0241, 26.3273, 28.6705 is a dark color, and the websafe version is hex 999999, and the color name is philippine gray. A complement of this color would be 25.0250, 26.3280, 28.6717, and the grayscale version is 25.0251, 26.3283, 28.6715.

A 20% lighter version of the original color is 51.1656, 53.9032, 58.1597, and 9.7181, 10.2242, 11.1341 is the 20% darker color. If you saturate the color by 10%, you get 21.9451, 24.8401, 24.0400, and if you desaturate by 10%, it is 28.5077, 28.0129, 33.8514.

Advertisment

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 & Saturation Gradients

These gradients show how the XYZ color 25.0241, 26.3273, 28.6705 changes by changing the brightness by 10 percent. The first figure shows a shift by +10% for each color and the second figure -10%.

Similar to the brightness gradients but the following saturation gradients show a change of the XYZ color 25.0241, 26.3273, 28.6705 by changing the saturation by 10% instead.

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%.25.0241, 26.3273, 28.6705The Color 25.0241, 26.3273, 28.6705.270.3034, 284.3851, 309.6692The Color 270.3034, 284.3851, 309.6692.223.9035, 235.5677, 256.5128The Color 223.9035, 235.5677, 256.5128.183.1427, 192.6833, 209.8165The Color 183.1427, 192.6833, 209.8165.147.6558, 155.3475, 169.1619The Color 147.6558, 155.3475, 169.1619.117.0773, 123.1760, 134.1304The Color 117.0773, 123.1760, 134.1304.91.0419, 95.7842, 104.3034The Color 91.0419, 95.7842, 104.3034.69.1842, 72.7878, 79.2625The Color 69.1842, 72.7878, 79.2625.51.1389, 53.8025, 58.5891The Color 51.1389, 53.8025, 58.5891.36.5407, 38.4438, 41.8646The Color 36.5407, 38.4438, 41.8646.25.0241, 26.3273, 28.6705The Color 25.0241, 26.3273, 28.6705.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]25.0241, 26.3273, 28.6705The Color 25.0241, 26.3273, 28.6705.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.8788, 0.9246, 1.0072The Color 0.8788, 0.9246, 1.0072.2.4674, 2.5958, 2.8274The Color 2.4674, 2.5958, 2.8274.5.3108, 5.5873, 6.0852The Color 5.3108, 5.5873, 6.0852.9.7745, 10.2835, 11.1994The Color 9.7745, 10.2835, 11.1994.16.2238, 17.0687, 18.5883The Color 16.2238, 17.0687, 18.5883.25.0241, 26.3273, 28.6705The Color 25.0241, 26.3273, 28.6705.Brightness Gradient

🖌️ View as Color Bucket

Saturation GradientSimilar to the brightness gradients but the following saturation gradients show a change of the {format} color {color} by changing the saturation by 10% instead.25.0241, 26.3273, 28.6705The Color 25.0241, 26.3273, 28.6705.9.8242, 19.0149, 4.3455The Color 9.8242, 19.0149, 4.3455.10.3093, 19.2434, 5.3407The Color 10.3093, 19.2434, 5.3407.11.0409, 19.5913, 6.7003The Color 11.0409, 19.5913, 6.7003.12.0467, 20.0719, 8.4550The Color 12.0467, 20.0719, 8.4550.13.3505, 20.6972, 10.6323The Color 13.3505, 20.6972, 10.6323.14.9737, 21.4776, 13.2572The Color 14.9737, 21.4776, 13.2572.16.9355, 22.4225, 16.3527The Color 16.9355, 22.4225, 16.3527.19.2538, 23.5406, 19.9402The Color 19.2538, 23.5406, 19.9402.21.9451, 24.8401, 24.0400The Color 21.9451, 24.8401, 24.0400.25.0241, 26.3273, 28.6705The Color 25.0241, 26.3273, 28.6705.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]25.0241, 26.3273, 28.6705The Color 25.0241, 26.3273, 28.6705.68.0730, 47.0575, 96.7897The Color 68.0730, 47.0575, 96.7897.65.2638, 45.8262, 86.8536The Color 65.2638, 45.8262, 86.8536.58.6035, 42.5955, 77.3836The Color 58.6035, 42.5955, 77.3836.52.4318, 39.6025, 68.5700The Color 52.4318, 39.6025, 68.5700.46.7377, 36.8421, 60.3990The Color 46.7377, 36.8421, 60.3990.41.5102, 34.3087, 52.8566The Color 41.5102, 34.3087, 52.8566.36.7375, 31.9967, 45.9281The Color 36.7375, 31.9967, 45.9281.32.4075, 29.9001, 39.5983The Color 32.4075, 29.9001, 39.5983.28.5077, 28.0129, 33.8514The Color 28.5077, 28.0129, 33.8514.25.0241, 26.3273, 28.6705The Color 25.0241, 26.3273, 28.6705.Saturation Gradient

🖌️ View as Color Bucket

Advertisment

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.25.0232, 26.3273, 28.6710The Color 25.0232, 26.3273, 28.6710.25.0248, 26.3273, 28.6688The Color 25.0248, 26.3273, 28.6688.25.0241, 26.3273, 28.6705The Color 25.0241, 26.3273, 28.6705.25.0232, 26.3273, 28.6710The Color 25.0232, 26.3273, 28.6710.Analogous

🖌️ View as Color Bucket

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.25.0241, 26.3273, 28.6705The Color 25.0241, 26.3273, 28.6705.25.0215, 26.3273, 28.6656The Color 25.0215, 26.3273, 28.6656.25.0243, 26.3273, 28.6617The Color 25.0243, 26.3273, 28.6617.25.0241, 26.3273, 28.6705The Color 25.0241, 26.3273, 28.6705.Triad

🖌️ View as Color Bucket

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.25.0241, 26.3273, 28.6705The Color 25.0241, 26.3273, 28.6705.25.0250, 26.3280, 28.6717The Color 25.0250, 26.3280, 28.6717.25.0241, 26.3273, 28.6705The Color 25.0241, 26.3273, 28.6705.Complementary

🖌️ View as Color Bucket

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.25.0218, 26.3273, 28.6632The Color 25.0218, 26.3273, 28.6632.25.0234, 26.3273, 28.6609The Color 25.0234, 26.3273, 28.6609.25.0241, 26.3273, 28.6705The Color 25.0241, 26.3273, 28.6705.25.0218, 26.3273, 28.6632The Color 25.0218, 26.3273, 28.6632.Split Complementary

🖌️ View as Color Bucket

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.25.0241, 26.3273, 28.6705The Color 25.0241, 26.3273, 28.6705.25.0217, 26.3273, 28.6682The Color 25.0217, 26.3273, 28.6682.25.0225, 26.3273, 28.6614The Color 25.0225, 26.3273, 28.6614.25.0249, 26.3273, 28.6637The Color 25.0249, 26.3273, 28.6637.25.0241, 26.3273, 28.6705The Color 25.0241, 26.3273, 28.6705.Square

🖌️ View as Color Bucket

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.25.0241, 26.3273, 28.6705The Color 25.0241, 26.3273, 28.6705.25.0216, 26.3273, 28.6648The Color 25.0216, 26.3273, 28.6648.25.0225, 26.3273, 28.6614The Color 25.0225, 26.3273, 28.6614.25.0250, 26.3273, 28.6671The Color 25.0250, 26.3273, 28.6671.25.0241, 26.3273, 28.6705The Color 25.0241, 26.3273, 28.6705.Rectangle

🖌️ View as Color Bucket

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.25.0248, 26.3284, 28.6711The Color 25.0248, 26.3284, 28.6711.67.5393, 71.0566, 77.3807The Color 67.5393, 71.0566, 77.3807.10.1266, 10.6539, 11.6021The Color 10.1266, 10.6539, 11.6021.25.0252, 26.3286, 28.6710The Color 25.0252, 26.3286, 28.6710.45.3388, 47.7000, 51.9453The Color 45.3388, 47.7000, 51.9453.25.0248, 26.3284, 28.6711The Color 25.0248, 26.3284, 28.6711.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#8C8C8C
Advertisment

Previews

White Background

 

This preview shows how the XYZ color 25.0241, 26.3273, 28.6705 looks on a white background.

The color contrast ratio for these colors is 3.36, 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 25.0241, 26.3273, 28.6705 looks on a black background.

The color contrast ratio for these colors is 6.24, 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 25.0241, 26.3273, 28.6705 Background

 

This preview shows how black text looks on a background with the XYZ color 25.0241, 26.3273, 28.6705.

 

This preview shows how white text looks on a background with the XYZ color 25.0241, 26.3273, 28.6705.

Color Blindness Simulation


Dichromacy

Original Color
24.9269, 26.2251, 28.5591
Protanopia
25.4394, 26.4893, 28.5831
Deuteranopia
26.7487, 26.3037, 28.8666
Tritanopia
25.8930, 26.4180, 32.5886

Trichromacy

Original Color
24.9269, 26.2251, 28.5591
Protanomaly
25.2670, 26.4004, 28.5750
Deuteranomaly
26.1089, 26.3959, 28.9181
Tritanomaly
25.4054, 26.2033, 30.9129

Monochromacy

Original Color
24.9269, 26.2251, 28.5591
Achromatopsia
24.9269, 26.2251, 28.5591
Achromatomaly
24.9269, 26.2251, 28.5591
Advertisment

CSS Examples


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

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

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

Here you see how black text with a 4 pixel rgb(140, 140, 140) 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 25.0241, 26.3273, 28.6705 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(140, 140, 140) }.

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

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

Background

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

If only the background color should be changed .background{ background-color:rgb(140, 140, 140) } 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.

How-to use Converting Colors

To convert, paste a string in one of these color formats, for example, "8C8C8C", 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%, 55%" 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%, 55%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(58.35, 0.00, -0.01)", "CIELCH(58, 0.008, 296.494)", "YXY(26.3273, 0.3127, 0.3290)" and "CMYK(0.00, 0.00, 0.00, 0.45)".


Advertisment