Converting Colors


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
RYB153, 130, 124
Decimal10060156
CIELab56.01, 8.35, 6.11
CIELCh56, 10.345, 36.172
Yxy23.9227, 0.3471, 0.3372
Android (android.graphics.Color)4288250236 (0xFF99817C)
YUV135.6060, -5.7218, 15.2545

Details

The CMY color 0.4000, 0.4942, 0.5137 is a dark color, and the websafe version is hex 999999. A complement of this color would be 0.5137, 0.4195, 0.4000, and the grayscale version is 0.4681, 0.4681, 0.4681.

A 20% lighter version of the original color is 0.1843, 0.2863, 0.3098, and 0.6000, 0.6863, 0.7059 is the 20% darker color. If you saturate the color by 10%, you get 0.4000, 0.5439, 0.5737, and if you desaturate by 10%, it is 0.4000, 0.4445, 0.4537.

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 CMY color 0.4000, 0.4942, 0.5137 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 CMY color 0.4000, 0.4942, 0.5137 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%.0.4000, 0.4942, 0.5137The Color 0.4000, 0.4942, 0.5137.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.0000, 0.0677, 0.0899The Color 0.0000, 0.0677, 0.0899.0.0745, 0.1786, 0.2003The Color 0.0745, 0.1786, 0.2003.0.1857, 0.2869, 0.3079The Color 0.1857, 0.2869, 0.3079.0.2943, 0.3921, 0.4124The Color 0.2943, 0.3921, 0.4124.0.4000, 0.4942, 0.5137The Color 0.4000, 0.4942, 0.5137.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]0.4000, 0.4942, 0.5137The Color 0.4000, 0.4942, 0.5137.1.0000, 1.0000, 1.0000The Color 1.0000, 1.0000, 1.0000.0.8697, 0.9440, 0.9709The Color 0.8697, 0.9440, 0.9709.0.7883, 0.8618, 0.8766The Color 0.7883, 0.8618, 0.8766.0.6971, 0.7772, 0.7935The Color 0.6971, 0.7772, 0.7935.0.6017, 0.6872, 0.7048The Color 0.6017, 0.6872, 0.7048.0.5026, 0.5927, 0.6113The Color 0.5026, 0.5927, 0.6113.0.4000, 0.4942, 0.5137The Color 0.4000, 0.4942, 0.5137.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.0.4000, 0.4942, 0.5137The Color 0.4000, 0.4942, 0.5137.0.4000, 0.8971, 1.0000The Color 0.4000, 0.8971, 1.0000.0.4000, 0.8919, 0.9937The Color 0.4000, 0.8919, 0.9937.0.4000, 0.8422, 0.9337The Color 0.4000, 0.8422, 0.9337.0.4000, 0.7925, 0.8737The Color 0.4000, 0.7925, 0.8737.0.4000, 0.7427, 0.8137The Color 0.4000, 0.7427, 0.8137.0.4000, 0.6930, 0.7537The Color 0.4000, 0.6930, 0.7537.0.4000, 0.6433, 0.6937The Color 0.4000, 0.6433, 0.6937.0.4000, 0.5936, 0.6337The Color 0.4000, 0.5936, 0.6337.0.4000, 0.5439, 0.5737The Color 0.4000, 0.5439, 0.5737.0.4000, 0.4942, 0.5137The Color 0.4000, 0.4942, 0.5137.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]0.4000, 0.4942, 0.5137The Color 0.4000, 0.4942, 0.5137.0.4000, 0.0468, 0.0000The Color 0.4000, 0.0468, 0.0000.0.4000, 0.0965, 0.0337The Color 0.4000, 0.0965, 0.0337.0.4000, 0.1462, 0.0937The Color 0.4000, 0.1462, 0.0937.0.4000, 0.1959, 0.1537The Color 0.4000, 0.1959, 0.1537.0.4000, 0.2457, 0.2137The Color 0.4000, 0.2457, 0.2137.0.4000, 0.2954, 0.2737The Color 0.4000, 0.2954, 0.2737.0.4000, 0.3451, 0.3337The Color 0.4000, 0.3451, 0.3337.0.4000, 0.3948, 0.3937The Color 0.4000, 0.3948, 0.3937.0.4000, 0.4445, 0.4537The Color 0.4000, 0.4445, 0.4537.0.4000, 0.4942, 0.5137The Color 0.4000, 0.4942, 0.5137.Saturation Gradient

🖌️ View as Color Bucket

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.0.4001, 0.4975, 0.4799The Color 0.4001, 0.4975, 0.4799.0.4189, 0.4853, 0.5369The Color 0.4189, 0.4853, 0.5369.0.4000, 0.4942, 0.5137The Color 0.4000, 0.4942, 0.5137.0.4001, 0.4975, 0.4799The Color 0.4001, 0.4975, 0.4799.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.0.4000, 0.4942, 0.5137The Color 0.4000, 0.4942, 0.5137.0.5020, 0.4731, 0.4043The Color 0.5020, 0.4731, 0.4043.0.5309, 0.4553, 0.5031The Color 0.5309, 0.4553, 0.5031.0.4000, 0.4942, 0.5137The Color 0.4000, 0.4942, 0.5137.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.0.4000, 0.4942, 0.5137The Color 0.4000, 0.4942, 0.5137.0.5137, 0.4195, 0.4000The Color 0.5137, 0.4195, 0.4000.0.4000, 0.4942, 0.5137The Color 0.4000, 0.4942, 0.5137.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.0.5412, 0.4622, 0.4104The Color 0.5412, 0.4622, 0.4104.0.5572, 0.4525, 0.4674The Color 0.5572, 0.4525, 0.4674.0.4000, 0.4942, 0.5137The Color 0.4000, 0.4942, 0.5137.0.5412, 0.4622, 0.4104The Color 0.5412, 0.4622, 0.4104.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.0.4000, 0.4942, 0.5137The Color 0.4000, 0.4942, 0.5137.0.4574, 0.4849, 0.4168The Color 0.4574, 0.4849, 0.4168.0.5618, 0.4549, 0.4335The Color 0.5618, 0.4549, 0.4335.0.4925, 0.4629, 0.5309The Color 0.4925, 0.4629, 0.5309.0.4000, 0.4942, 0.5137The Color 0.4000, 0.4942, 0.5137.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.0.4000, 0.4942, 0.5137The Color 0.4000, 0.4942, 0.5137.0.5164, 0.4692, 0.4042The Color 0.5164, 0.4692, 0.4042.0.5618, 0.4549, 0.4335The Color 0.5618, 0.4549, 0.4335.0.4399, 0.4777, 0.5433The Color 0.4399, 0.4777, 0.5433.0.4000, 0.4942, 0.5137The Color 0.4000, 0.4942, 0.5137.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.0.4000, 0.4942, 0.5137The Color 0.4000, 0.4942, 0.5137.0.6100, 0.6100, 0.6100The Color 0.6100, 0.6100, 0.6100.0.1100, 0.1100, 0.1100The Color 0.1100, 0.1100, 0.1100.0.6100, 0.6326, 0.6373The Color 0.6100, 0.6326, 0.6373.0.4000, 0.5137, 0.4190The Color 0.4000, 0.5137, 0.4190.0.2200, 0.2588, 0.2668The Color 0.2200, 0.2588, 0.2668.0.4000, 0.4942, 0.5137The Color 0.4000, 0.4942, 0.5137.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#99817C

Previews

White Background

 

This preview shows how the CMY color 0.4000, 0.4942, 0.5137 looks on a white background.

The color contrast ratio for these colors is 3.63, 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 CMY color 0.4000, 0.4942, 0.5137 looks on a black background.

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

CMY 0.4000, 0.4942, 0.5137 Background

 

This preview shows how black text looks on a background with the CMY color 0.4000, 0.4942, 0.5137.

 

This preview shows how white text looks on a background with the CMY color 0.4000, 0.4942, 0.5137.

Color Blindness Simulation


Dichromacy

Original Color
0.4000, 0.4941, 0.5137
Protanopia
0.4549, 0.4745, 0.5020
Deuteranopia
0.4078, 0.4902, 0.5137
Tritanopia
0.3922, 0.5020, 0.4627

Trichromacy

Original Color
0.4000, 0.4941, 0.5137
Protanomaly
0.4353, 0.4824, 0.5059
Deuteranomaly
0.4039, 0.4902, 0.5137
Tritanomaly
0.3961, 0.4980, 0.4824

Monochromacy

Original Color
0.4000, 0.4941, 0.5137
Achromatopsia
0.4667, 0.4667, 0.4667
Achromatomaly
0.4431, 0.4784, 0.4824

CSS Examples


The CSS property to change the color of the text to CMY 0.4000, 0.4942, 0.5137 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(153, 129, 124) }.

This example shows how text in the color rgb(153, 129, 124) looks like.

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

Here you see how black text with a 4 pixel rgb(153, 129, 124) 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 CMY 0.4000, 0.4942, 0.5137 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(153, 129, 124) }.

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

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

Background

The CSS property to change the background color of an element to CMY 0.4000, 0.4942, 0.5137 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(153, 129, 124) }.

If only the background color should be changed .background{ background-color:rgb(153, 129, 124) } 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, "99817C", 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 "10°, 19%, 60%" 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(10°, 19%, 60%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(56.01, 8.35, 6.11)", "CIELCH(56, 10.345, 36.172)", "YXY(23.9227, 0.3471, 0.3372)" and "CMYK(0.00, 0.16, 0.19, 0.40)".


    FontExplorer X - Makes Everyone an Expert

Advertisment: These links are affiliate (commission) links. If you click on such a link and buy something on that website, I get a commission. For you, the price does not change.