Converting Colors


Conversions · Details · Harmonies · Images · Preview · 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
Hex000284
RGB0, 2, 132
RGB Percent0%, 1%, 52%
CMY1.0000, 0.9922, 0.4824
CMYK1.00, 0.98, 0.00, 0.48
HSL239°, 100%, 26%
HSV239°, 100%, 52%
XYZ4.1866, 1.7094, 21.9391
Conversions Part 2
FormatColor
RYB0, 2, 132
Decimal644
CIELab13.88, 47.78, -65.73
CIELCh14, 81.263, 306.014
Yxy1.7094, 0.1504, 0.0614
Android (android.graphics.Color)4278190724 (0xFF000284)
YUV16.2220, 57.0786, -14.2267

Details

The YUV color 16.2220, 57.0786, -14.2267 is a dark color, and the websafe version is hex 330099. A complement of this color would be 115.7780, -57.0786, 14.2267, and the grayscale version is 16.0000, 0.0000, 0.0000.

A 20% lighter version of the original color is 77.5450, 53.9613, 5.6610, and 9.2340, 35.3806, -8.0982 is the 20% darker color. If you saturate the color by 10%, you get 16.2220, 57.0786, -14.2267, and if you desaturate by 10%, it is 27.7400, 51.4002, -12.9270.

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 16.2220, 57.0786, -14.2267 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 16.2220, 57.0786, -14.2267 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.2220, 57.0786, -14.2267The Color 16.2220, 57.0786, -14.2267.245.6080, 4.6303, 8.2368The Color 245.6080, 4.6303, 8.2368.228.5850, 13.0226, 23.1660The Color 228.5850, 13.0226, 23.1660.204.9730, 24.6633, 22.8257The Color 204.9730, 24.6633, 22.8257.180.1540, 36.8991, 18.2819The Color 180.1540, 36.8991, 18.2819.155.6340, 48.9874, 14.3530The Color 155.6340, 48.9874, 14.3530.130.4470, 55.9816, 11.0090The Color 130.4470, 55.9816, 11.0090.103.4960, 54.9715, 8.3350The Color 103.4960, 54.9715, 8.3350.77.5450, 53.9613, 5.6610The Color 77.5450, 53.9613, 5.6610.49.8110, 53.8302, 1.0428The Color 49.8110, 53.8302, 1.0428.16.2220, 57.0786, -14.2267The Color 16.2220, 57.0786, -14.2267.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]16.2220, 57.0786, -14.2267The Color 16.2220, 57.0786, -14.2267.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.9120, 3.4944, -0.7998The Color 0.9120, 3.4944, -0.7998.5.0500, 14.2723, -4.4289The Color 5.0500, 14.2723, -4.4289.9.4330, 23.4505, -8.2727The Color 9.4330, 23.4505, -8.2727.9.2340, 35.3806, -8.0982The Color 9.2340, 35.3806, -8.0982.12.0840, 46.3006, -10.5977The Color 12.0840, 46.3006, -10.5977.16.2220, 57.0786, -14.2267The Color 16.2220, 57.0786, -14.2267.Brightness Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]16.2220, 57.0786, -14.2267The Color 16.2220, 57.0786, -14.2267.120.4820, 5.6784, -1.2997The Color 120.4820, 5.6784, -1.2997.108.9640, 11.3567, -2.5994The Color 108.9640, 11.3567, -2.5994.97.1470, 17.1825, -4.5139The Color 97.1470, 17.1825, -4.5139.85.6290, 22.8609, -5.8136The Color 85.6290, 22.8609, -5.8136.74.1110, 28.5393, -7.1133The Color 74.1110, 28.5393, -7.1133.62.5930, 34.2177, -8.4131The Color 62.5930, 34.2177, -8.4131.51.0750, 39.8960, -9.7128The Color 51.0750, 39.8960, -9.7128.39.2580, 45.7218, -11.6273The Color 39.2580, 45.7218, -11.6273.27.7400, 51.4002, -12.9270The Color 27.7400, 51.4002, -12.9270.16.2220, 57.0786, -14.2267The Color 16.2220, 57.0786, -14.2267.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.44.1990, 55.1179, -38.7625The Color 44.1990, 55.1179, -38.7625.40.5580, 20.9239, 55.6386The Color 40.5580, 20.9239, 55.6386.16.2220, 57.0786, -14.2267The Color 16.2220, 57.0786, -14.2267.44.1990, 55.1179, -38.7625The Color 44.1990, 55.1179, -38.7625.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.2220, 57.0786, -14.2267The Color 16.2220, 57.0786, -14.2267.35.1810, 5.3338, -30.8537The Color 35.1810, 5.3338, -30.8537.25.3820, -12.5133, 47.0230The Color 25.3820, -12.5133, 47.0230.16.2220, 57.0786, -14.2267The Color 16.2220, 57.0786, -14.2267.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.2220, 57.0786, -14.2267The Color 16.2220, 57.0786, -14.2267.115.7780, -57.0786, 14.2267The Color 115.7780, -57.0786, 14.2267.16.2220, 57.0786, -14.2267The Color 16.2220, 57.0786, -14.2267.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.29.3500, -14.4695, -25.7399The Color 29.3500, -14.4695, -25.7399.32.7710, -16.1561, 1.9548The Color 32.7710, -16.1561, 1.9548.16.2220, 57.0786, -14.2267The Color 16.2220, 57.0786, -14.2267.29.3500, -14.4695, -25.7399The Color 29.3500, -14.4695, -25.7399.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.2220, 57.0786, -14.2267The Color 16.2220, 57.0786, -14.2267.44.1410, 29.5105, -38.7117The Color 44.1410, 29.5105, -38.7117.28.1760, -13.8908, -24.7104The Color 28.1760, -13.8908, -24.7104.32.8900, -16.2148, 67.6255The Color 32.8900, -16.2148, 67.6255.16.2220, 57.0786, -14.2267The Color 16.2220, 57.0786, -14.2267.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.2220, 57.0786, -14.2267The Color 16.2220, 57.0786, -14.2267.32.9010, -3.4022, -28.8542The Color 32.9010, -3.4022, -28.8542.28.1760, -13.8908, -24.7104The Color 28.1760, -13.8908, -24.7104.41.1240, 2.4039, 69.1743The Color 41.1240, 2.4039, 69.1743.16.2220, 57.0786, -14.2267The Color 16.2220, 57.0786, -14.2267.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.2220, 57.0786, -14.2267The Color 16.2220, 57.0786, -14.2267.87.0000, 0.0000, 0.0000The Color 87.0000, 0.0000, 0.0000.214.0000, 0.0000, 0.0000The Color 214.0000, 0.0000, 0.0000.59.2350, 13.6881, -3.7141The Color 59.2350, 13.6881, -3.7141.92.3040, 18.5841, -80.9506The Color 92.3040, 18.5841, -80.9506.125.8140, 22.2767, -5.0989The Color 125.8140, 22.2767, -5.0989.16.2220, 57.0786, -14.2267The Color 16.2220, 57.0786, -14.2267.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#000284

Previews

White Background

 

This preview shows how the YUV color 16.2220, 57.0786, -14.2267 looks on a white background.

The color contrast ratio for these colors is 15.65, 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 16.2220, 57.0786, -14.2267 looks on a black background.

The color contrast ratio for these colors is 1.34, 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 16.2220, 57.0786, -14.2267 Background

 

This preview shows how black text looks on a background with the YUV color 16.2220, 57.0786, -14.2267.

 

This preview shows how white text looks on a background with the YUV color 16.2220, 57.0786, -14.2267.

CSS Examples


The CSS property to change the color of the text to YUV 16.2220, 57.0786, -14.2267 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(0, 2, 132) }.

This example shows how text in the color rgb(0, 2, 132) looks like.

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

Here you see how black text with a 4 pixel rgb(0, 2, 132) 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 16.2220, 57.0786, -14.2267 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(0, 2, 132) }.

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

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

Background

The CSS property to change the background color of an element to YUV 16.2220, 57.0786, -14.2267 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(0, 2, 132) }.

If only the background color should be changed .background{ background-color:rgb(0, 2, 132) } 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, "000284", 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 "239°, 100%, 52%" 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(239°, 100%, 52%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(13.88, 47.78, -65.73)", "CIELCH(14, 81.263, 306.014)", "YXY(1.7094, 0.1504, 0.0614)" and "CMYK(1.00, 0.98, 0.00, 0.48)".


125x125 Fiverr Pro  Grammarly Logo    10% discount- Jump- start your career  Searchmetrics Essentials - try for free

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.