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
RYB45, 96, 157
Decimal2984349
CIELab52.82, -19.92, -18.45
CIELCh53, 27.148, 222.812
Yxy20.8835, 0.2236, 0.2897
Android (android.graphics.Color)4281174429 (0xFF2D899D)
YUV111.7720, 22.2974, -58.5590

Details

The XYZ color 16.1137, 20.8835, 35.0799 is a dark color, and the websafe version is hex 339999. A complement of this color would be 16.2694, 11.1393, 3.7761, and the grayscale version is 15.2850, 16.0810, 17.5122.

A 20% lighter version of the original color is 36.4583, 45.0792, 69.0670, and 6.0097, 7.8570, 14.8355 is the 20% darker color. If you saturate the color by 10%, you get 15.1539, 19.8051, 34.9227, and if you desaturate by 10%, it is 17.3422, 22.1166, 35.2536.

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 16.1137, 20.8835, 35.0799 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 16.1137, 20.8835, 35.0799 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%.16.1137, 20.8835, 35.0799The Color 16.1137, 20.8835, 35.0799.223.2689, 256.6587, 339.8358The Color 223.2689, 256.6587, 339.8358.182.5878, 211.1666, 283.1738The Color 182.5878, 211.1666, 283.1738.147.1751, 171.3952, 233.1884The Color 147.1751, 171.3952, 233.1884.116.6655, 136.9600, 189.4611The Color 116.6655, 136.9600, 189.4611.90.6937, 107.4766, 151.5734The Color 90.6937, 107.4766, 151.5734.68.8943, 82.5607, 119.1068The Color 68.8943, 82.5607, 119.1068.50.9020, 61.8278, 91.6427The Color 50.9020, 61.8278, 91.6427.36.3513, 44.8936, 68.7625The Color 36.3513, 44.8936, 68.7625.24.8770, 31.3736, 50.0478The Color 24.8770, 31.3736, 50.0478.16.1137, 20.8835, 35.0799The Color 16.1137, 20.8835, 35.0799.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]16.1137, 20.8835, 35.0799The Color 16.1137, 20.8835, 35.0799.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.0000, 0.0000, 0.4246The Color 0.0000, 0.0000, 0.4246.0.0000, 0.3124, 1.7949The Color 0.0000, 0.3124, 1.7949.0.8631, 1.5339, 4.3065The Color 0.8631, 1.5339, 4.3065.2.4361, 3.7484, 8.4722The Color 2.4361, 3.7484, 8.4722.5.2586, 7.4553, 14.7107The Color 5.2586, 7.4553, 14.7107.9.6960, 13.0389, 23.4404The Color 9.6960, 13.0389, 23.4404.16.1137, 20.8835, 35.0799The Color 16.1137, 20.8835, 35.0799.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.16.1137, 20.8835, 35.0799The Color 16.1137, 20.8835, 35.0799.13.9314, 18.1254, 34.6630The Color 13.9314, 18.1254, 34.6630.14.4303, 18.8634, 34.7791The Color 14.4303, 18.8634, 34.7791.15.1539, 19.8051, 34.9227The Color 15.1539, 19.8051, 34.9227.16.1137, 20.8835, 35.0799The Color 16.1137, 20.8835, 35.0799.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]16.1137, 20.8835, 35.0799The Color 16.1137, 20.8835, 35.0799.39.3727, 38.8358, 37.3195The Color 39.3727, 38.8358, 37.3195.35.2680, 35.9933, 36.9872The Color 35.2680, 35.9933, 36.9872.31.5802, 33.3820, 36.6776The Color 31.5802, 33.3820, 36.6776.28.2949, 30.9944, 36.3899The Color 28.2949, 30.9944, 36.3899.25.3972, 28.8227, 36.1234The Color 25.3972, 28.8227, 36.1234.22.8710, 26.8583, 35.8774The Color 22.8710, 26.8583, 35.8774.20.6990, 25.0925, 35.6510The Color 20.6990, 25.0925, 35.6510.18.8629, 23.5154, 35.4434The Color 18.8629, 23.5154, 35.4434.17.3422, 22.1166, 35.2536The Color 17.3422, 22.1166, 35.2536.16.1137, 20.8835, 35.0799The Color 16.1137, 20.8835, 35.0799.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.14.9953, 20.8835, 26.3780The Color 14.9953, 20.8835, 26.3780.18.2818, 20.8835, 41.1455The Color 18.2818, 20.8835, 41.1455.16.1137, 20.8835, 35.0799The Color 16.1137, 20.8835, 35.0799.14.9953, 20.8835, 26.3780The Color 14.9953, 20.8835, 26.3780.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.16.1137, 20.8835, 35.0799The Color 16.1137, 20.8835, 35.0799.18.6651, 20.8835, 10.6625The Color 18.6651, 20.8835, 10.6625.25.5239, 20.8835, 27.6697The Color 25.5239, 20.8835, 27.6697.16.1137, 20.8835, 35.0799The Color 16.1137, 20.8835, 35.0799.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.16.1137, 20.8835, 35.0799The Color 16.1137, 20.8835, 35.0799.16.2694, 11.1393, 3.7761The Color 16.2694, 11.1393, 3.7761.16.1137, 20.8835, 35.0799The Color 16.1137, 20.8835, 35.0799.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.21.5035, 20.8835, 10.8498The Color 21.5035, 20.8835, 10.8498.25.6515, 20.8835, 19.4503The Color 25.6515, 20.8835, 19.4503.16.1137, 20.8835, 35.0799The Color 16.1137, 20.8835, 35.0799.21.5035, 20.8835, 10.8498The Color 21.5035, 20.8835, 10.8498.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.16.1137, 20.8835, 35.0799The Color 16.1137, 20.8835, 35.0799.16.3712, 20.8835, 13.1033The Color 16.3712, 20.8835, 13.1033.24.1214, 20.8835, 13.6957The Color 24.1214, 20.8835, 13.6957.23.7878, 20.8835, 36.2173The Color 23.7878, 20.8835, 36.2173.16.1137, 20.8835, 35.0799The Color 16.1137, 20.8835, 35.0799.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.16.1137, 20.8835, 35.0799The Color 16.1137, 20.8835, 35.0799.19.5830, 20.8835, 10.4409The Color 19.5830, 20.8835, 10.4409.24.1214, 20.8835, 13.6957The Color 24.1214, 20.8835, 13.6957.20.1177, 20.8835, 42.1609The Color 20.1177, 20.8835, 42.1609.16.1137, 20.8835, 35.0799The Color 16.1137, 20.8835, 35.0799.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.16.1144, 20.8843, 35.0804The Color 16.1144, 20.8843, 35.0804.12.6291, 13.2868, 14.4694The Color 12.6291, 13.2868, 14.4694.74.8435, 78.7412, 85.7492The Color 74.8435, 78.7412, 85.7492.9.7347, 11.1485, 14.2092The Color 9.7347, 11.1485, 14.2092.14.0559, 25.0388, 8.8942The Color 14.0559, 25.0388, 8.8942.45.4482, 51.5912, 64.6895The Color 45.4482, 51.5912, 64.6895.16.1144, 20.8843, 35.0804The Color 16.1144, 20.8843, 35.0804.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#2D899D

Previews

White Background

 

This preview shows how the XYZ color 16.1137, 20.8835, 35.0799 looks on a white background.

The color contrast ratio for these colors is 4.06, 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 16.1137, 20.8835, 35.0799 looks on a black background.

The color contrast ratio for these colors is 5.18, 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 16.1137, 20.8835, 35.0799 Background

 

This preview shows how black text looks on a background with the XYZ color 16.1137, 20.8835, 35.0799.

 

This preview shows how white text looks on a background with the XYZ color 16.1137, 20.8835, 35.0799.

Color Blindness Simulation


Dichromacy

Original Color
16.1137, 20.8835, 35.0799
Protanopia
20.2987, 20.5465, 30.9130
Deuteranopia
21.0359, 20.6259, 36.1302
Tritanopia
15.3884, 20.7980, 31.6371

Trichromacy

Original Color
16.1137, 20.8835, 35.0799
Protanomaly
17.9504, 20.2620, 32.2430
Deuteranomaly
18.3908, 20.2169, 35.7338
Tritanomaly
15.7108, 20.9362, 32.9188

Monochromacy

Original Color
16.1137, 20.8835, 35.0799
Achromatopsia
15.4009, 16.2029, 17.6450
Achromatomaly
14.7582, 17.3080, 22.9850

CSS Examples


The CSS property to change the color of the text to XYZ 16.1137, 20.8835, 35.0799 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(45, 137, 157) }.

This example shows how text in the color rgb(45, 137, 157) looks like.

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

Here you see how black text with a 4 pixel rgb(45, 137, 157) 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 16.1137, 20.8835, 35.0799 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(45, 137, 157) }.

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

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

Background

The CSS property to change the background color of an element to XYZ 16.1137, 20.8835, 35.0799 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(45, 137, 157) }.

If only the background color should be changed .background{ background-color:rgb(45, 137, 157) } 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, "2D899D", 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 "191°, 71%, 62%" 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(191°, 71%, 62%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(52.82, -19.92, -18.45)", "CIELCH(53, 27.148, 222.812)", "YXY(20.8835, 0.2236, 0.2897)" and "CMYK(0.71, 0.13, 0.00, 0.38)".


    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.