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 1
FormatColor
Hex133C9D
RGB19, 60, 157
RGB Percent7%, 24%, 62%
CMY0.9255, 0.7647, 0.3843
CMYK0.88, 0.62, 0.00, 0.38
HSL222°, 78%, 35%
HSV222°, 88%, 62%
XYZ7.9702, 5.8045, 32.5986
Conversions Part 2
FormatColor
RYB19, 51, 157
Decimal1260701
CIELab28.91, 25.26, -56.36
CIELCh29, 61.759, 294.139
Yxy5.8045, 0.1719, 0.1252
Android (android.graphics.Color)4279450781 (0xFF133C9D)
YUV58.7990, 48.4131, -34.9037

Details

The YUV color 58.7990, 48.4131, -34.9037 is a dark color, and the websafe version is hex 003399. A complement of this color would be 117.2010, -48.4131, 34.9037, and the grayscale version is 58.0000, 0.0000, 0.0000.

A 20% lighter version of the original color is 114.4850, 48.0749, -19.7193, and 23.7100, 40.0760, -20.7937 is the 20% darker color. If you saturate the color by 10%, you get 47.5580, 53.9549, -39.0774, and if you desaturate by 10%, it is 70.0400, 42.8713, -30.7301.

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 YUV color 58.7990, 48.4131, -34.9037 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 YUV color 58.7990, 48.4131, -34.9037 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%.58.7990, 48.4131, -34.9037The Color 58.7990, 48.4131, -34.9037.255.0000, 0.0000, 0.0000The Color 255.0000, 0.0000, 0.0000.241.9980, 6.4100, -2.6292The Color 241.9980, 6.4100, -2.6292.216.0050, 19.2245, -6.1434The Color 216.0050, 19.2245, -6.1434.191.4850, 31.3129, -10.0723The Color 191.4850, 31.3129, -10.0723.166.9650, 43.4013, -14.0013The Color 166.9650, 43.4013, -14.0013.141.1370, 49.2325, -17.6601The Color 141.1370, 49.2325, -17.6601.114.4850, 48.0749, -19.7193The Color 114.4850, 48.0749, -19.7193.87.9360, 47.3596, -23.6229The Color 87.9360, 47.3596, -23.6229.58.7990, 48.4131, -34.9037The Color 58.7990, 48.4131, -34.9037.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]58.7990, 48.4131, -34.9037The Color 58.7990, 48.4131, -34.9037.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.7980, 3.0576, -0.6998The Color 0.7980, 3.0576, -0.6998.4.9360, 13.8356, -4.3289The Color 4.9360, 13.8356, -4.3289.9.3190, 23.0137, -8.1728The Color 9.3190, 23.0137, -8.1728.9.1200, 34.9438, -7.9982The Color 9.1200, 34.9438, -7.9982.23.7100, 40.0760, -20.7937The Color 23.7100, 40.0760, -20.7937.37.7130, 45.4975, -33.0743The Color 37.7130, 45.4975, -33.0743.58.7990, 48.4131, -34.9037The Color 58.7990, 48.4131, -34.9037.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.58.7990, 48.4131, -34.9037The Color 58.7990, 48.4131, -34.9037.45.4870, 54.9759, -39.8921The Color 45.4870, 54.9759, -39.8921.47.5580, 53.9549, -39.0774The Color 47.5580, 53.9549, -39.0774.58.7990, 48.4131, -34.9037The Color 58.7990, 48.4131, -34.9037.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]58.7990, 48.4131, -34.9037The Color 58.7990, 48.4131, -34.9037.159.0710, -1.0210, 0.8147The Color 159.0710, -1.0210, 0.8147.148.1290, 4.3734, -2.7441The Color 148.1290, 4.3734, -2.7441.136.8880, 9.9152, -6.9178The Color 136.8880, 9.9152, -6.9178.125.6470, 15.4570, -11.0914The Color 125.6470, 15.4570, -11.0914.114.7050, 20.8514, -14.6503The Color 114.7050, 20.8514, -14.6503.103.4640, 26.3932, -18.8239The Color 103.4640, 26.3932, -18.8239.92.2230, 31.9351, -22.9976The Color 92.2230, 31.9351, -22.9976.80.9820, 37.4769, -27.1712The Color 80.9820, 37.4769, -27.1712.70.0400, 42.8713, -30.7301The Color 70.0400, 42.8713, -30.7301.58.7990, 48.4131, -34.9037The Color 58.7990, 48.4131, -34.9037.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.64.5960, 49.4992, -56.6507The Color 64.5960, 49.4992, -56.6507.63.5980, 30.2712, 44.2026The Color 63.5980, 30.2712, 44.2026.58.7990, 48.4131, -34.9037The Color 58.7990, 48.4131, -34.9037.64.5960, 49.4992, -56.6507The Color 64.5960, 49.4992, -56.6507.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.58.7990, 48.4131, -34.9037The Color 58.7990, 48.4131, -34.9037.56.9800, 0.0099, -49.9715The Color 56.9800, 0.0099, -49.9715.59.9800, -29.5701, 57.8995The Color 59.9800, -29.5701, 57.8995.58.7990, 48.4131, -34.9037The Color 58.7990, 48.4131, -34.9037.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.58.7990, 48.4131, -34.9037The Color 58.7990, 48.4131, -34.9037.117.2010, -48.4131, 34.9037The Color 117.2010, -48.4131, 34.9037.58.7990, 48.4131, -34.9037The Color 58.7990, 48.4131, -34.9037.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.48.7210, -24.0195, -42.7283The Color 48.7210, -24.0195, -42.7283.64.4890, -31.7931, 24.1271The Color 64.4890, -31.7931, 24.1271.58.7990, 48.4131, -34.9037The Color 58.7990, 48.4131, -34.9037.48.7210, -24.0195, -42.7283The Color 48.7210, -24.0195, -42.7283.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.58.7990, 48.4131, -34.9037The Color 58.7990, 48.4131, -34.9037.63.1530, 21.1236, -55.3852The Color 63.1530, 21.1236, -55.3852.59.2520, -29.2112, -10.7450The Color 59.2520, -29.2112, -10.7450.47.4160, -7.1071, 86.4582The Color 47.4160, -7.1071, 86.4582.58.7990, 48.4131, -34.9037The Color 58.7990, 48.4131, -34.9037.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.58.7990, 48.4131, -34.9037The Color 58.7990, 48.4131, -34.9037.55.0420, -7.4157, -48.2718The Color 55.0420, -7.4157, -48.2718.59.2520, -29.2112, -10.7450The Color 59.2520, -29.2112, -10.7450.52.2060, 21.5904, 75.2413The Color 52.2060, 21.5904, 75.2413.58.7990, 48.4131, -34.9037The Color 58.7990, 48.4131, -34.9037.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.58.7990, 48.4131, -34.9037The Color 58.7990, 48.4131, -34.9037.102.0000, 0.0000, 0.0000The Color 102.0000, 0.0000, 0.0000.230.0000, 0.0000, 0.0000The Color 230.0000, 0.0000, 0.0000.79.5180, 11.0836, -8.3473The Color 79.5180, 11.0836, -8.3473.111.0640, 2.4334, -80.7401The Color 111.0640, 2.4334, -80.7401.166.4340, 18.5200, -13.5356The Color 166.4340, 18.5200, -13.5356.58.7990, 48.4131, -34.9037The Color 58.7990, 48.4131, -34.9037.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#133C9D
Advertisment

Previews

White Background

 

This preview shows how the YUV color 58.7990, 48.4131, -34.9037 looks on a white background.

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

Black Background

 

This preview shows how the YUV color 58.7990, 48.4131, -34.9037 looks on a black background.

The color contrast ratio for these colors is 2.16, which fails to comply with the Web Content Accessibility Guidelines (WCAG) 2.0. Details can be found at https://www.w3.org/TR/WCAG20/.

YUV 58.7990, 48.4131, -34.9037 Background

 

This preview shows how black text looks on a background with the YUV color 58.7990, 48.4131, -34.9037.

 

This preview shows how white text looks on a background with the YUV color 58.7990, 48.4131, -34.9037.

Color Blindness Simulation


Dichromacy

Original Color
58.7990, 48.4131, -34.9037
Protanopia
54.5880, 41.6151, -47.8737
Deuteranopia
54.6560, 31.7216, -47.9333
Tritanopia
53.7320, 12.9501, -47.1230

Trichromacy

Original Color
58.7990, 48.4131, -34.9037
Protanomaly
56.3050, 44.2196, -43.2405
Deuteranomaly
55.9970, 37.9625, -42.9704
Tritanomaly
55.4950, 25.8850, -42.5301

Monochromacy

Original Color
58.7990, 48.4131, -34.9037
Achromatopsia
59.0000, 0.0000, 0.0000
Achromatomaly
58.6190, 17.9358, -12.8209
Advertisment

CSS Examples


The CSS property to change the color of the text to YUV 58.7990, 48.4131, -34.9037 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(19, 60, 157) }.

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

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

Here you see how black text with a 4 pixel rgb(19, 60, 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 YUV 58.7990, 48.4131, -34.9037 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(19, 60, 157) }.

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

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

Background

The CSS property to change the background color of an element to YUV 58.7990, 48.4131, -34.9037 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(19, 60, 157) }.

If only the background color should be changed .background{ background-color:rgb(19, 60, 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, "133C9D", 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 "222°, 88%, 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(222°, 88%, 62%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(28.91, 25.26, -56.36)", "CIELCH(29, 61.759, 294.139)", "YXY(5.8045, 0.1719, 0.1252)" and "CMYK(0.88, 0.62, 0.00, 0.38)".


Advertisment