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
Hex143EC3
RGB20, 62, 195
RGB Percent8%, 24%, 76%
CMY0.9219, 0.7570, 0.2345
CMYK0.90, 0.68, 0.00, 0.23
HSL226°, 81%, 42%
HSV226°, 90%, 77%
XYZ11.8795, 7.5373, 52.5774
Conversions Part 2
FormatColor
RYB20, 54, 195
Decimal1326787
CIELab33.00, 38.78, -72.42
CIELCh33, 82.155, 298.169
Yxy7.5373, 0.1650, 0.1047
Android (android.graphics.Color)4279516867 (0xFF143EC3)
YUV64.6040, 64.2852, -39.1177

Details

The CIELCh color 33, 82.155, 298.169 is a dark color, and the websafe version is hex 0033CC. The color can be described as dark washed blue. A complement of this color would be 65, 66.415, 86.063, and the grayscale version is 27, 0.004, 296.813.

A 20% lighter version of the original color is 53, 81.889, 297.981, and 18, 77.327, 303.385 is the 20% darker color. If you saturate the color by 10%, you get 29, 91.522, 301.072, and if you desaturate by 10%, it is 37, 72.215, 295.007.

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 CIELCh color 33, 82.155, 298.169 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 CIELCh color 33, 82.155, 298.169 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%.33, 82.155, 298.169The Color 33, 82.155, 298.169.100, 82.155, 298.169The Color 100, 82.155, 298.169.93, 82.155, 298.169The Color 93, 82.155, 298.169.83, 82.155, 298.169The Color 83, 82.155, 298.169.73, 82.155, 298.169The Color 73, 82.155, 298.169.63, 82.155, 298.169The Color 63, 82.155, 298.169.53, 82.155, 298.169The Color 53, 82.155, 298.169.43, 82.155, 298.169The Color 43, 82.155, 298.169.33, 82.155, 298.169The Color 33, 82.155, 298.169.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]33, 82.155, 298.169The Color 33, 82.155, 298.169.0, 82.155, 298.169The Color 0, 82.155, 298.169.3, 82.155, 298.169The Color 3, 82.155, 298.169.13, 82.155, 298.169The Color 13, 82.155, 298.169.23, 82.155, 298.169The Color 23, 82.155, 298.169.33, 82.155, 298.169The Color 33, 82.155, 298.169.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.33, 82.155, 298.169The Color 33, 82.155, 298.169.29, 91.700, 301.123The Color 29, 91.700, 301.123.29, 91.522, 301.072The Color 29, 91.522, 301.072.33, 82.155, 298.169The Color 33, 82.155, 298.169.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]33, 82.155, 298.169The Color 33, 82.155, 298.169.79, 0.153, 96.723The Color 79, 0.153, 96.723.74, 8.022, 279.127The Color 74, 8.022, 279.127.68, 16.409, 280.543The Color 68, 16.409, 280.543.63, 25.025, 282.206The Color 63, 25.025, 282.206.57, 33.890, 284.149The Color 57, 33.890, 284.149.52, 43.033, 286.406The Color 52, 43.033, 286.406.47, 52.480, 288.993The Color 47, 52.480, 288.993.42, 62.234, 291.889The Color 42, 62.234, 291.889.37, 72.215, 295.007The Color 37, 72.215, 295.007.33, 82.155, 298.169The Color 33, 82.155, 298.169.Saturation Gradient

🖌️ View as Color Bucket

Advertisment

Harmonies

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.33, 82.155, 298.169The Color 33, 82.155, 298.169.65, 66.415, 86.063The Color 65, 66.415, 86.063.33, 82.155, 298.169The Color 33, 82.155, 298.169.Complementary

🖌️ 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.33, 82.155, 298.169The Color 33, 82.155, 298.169.33, 82.155, 168.169The Color 33, 82.155, 168.169.33, 82.155, 118.169The Color 33, 82.155, 118.169.33, 82.155, 348.169The Color 33, 82.155, 348.169.33, 82.155, 298.169The Color 33, 82.155, 298.169.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.33, 82.156, 298.170The Color 33, 82.156, 298.170.53, 0.007, 296.813The Color 53, 0.007, 296.813.0, 0.000, 0.000The Color 0, 0.000, 0.000.41, 19.009, 282.405The Color 41, 19.009, 282.405.71, 51.799, 168.010The Color 71, 51.799, 168.010.82, 28.079, 281.788The Color 82, 28.079, 281.788.33, 82.156, 298.170The Color 33, 82.156, 298.170.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#143EC3
Advertisment

Previews

White Background

 

This preview shows how the CIELCh color 33, 82.155, 298.169 looks on a white background.

The color contrast ratio for these colors is 8.38, 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 CIELCh color 33, 82.155, 298.169 looks on a black background.

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

CIELCh 33, 82.155, 298.169 Background

 

This preview shows how black text looks on a background with the CIELCh color 33, 82.155, 298.169.

 

This preview shows how white text looks on a background with the CIELCh color 33, 82.155, 298.169.

Color Blindness Simulation


Dichromacy

Original Color
33, 82.016, 298.144
Protanopia
33, 51.879, 285.589
Deuteranopia
33, 35.987, 271.297
Tritanopia
33, 22.063, 204.902

Trichromacy

Original Color
33, 82.016, 298.144
Protanomaly
33, 63.257, 291.798
Deuteranomaly
32, 52.533, 286.853
Tritanomaly
32, 34.759, 271.868

Monochromacy

Original Color
33, 82.016, 298.144
Achromatopsia
28, 0.004, 296.813
Achromatomaly
28, 31.117, 287.449
Advertisment

CSS Examples


The CSS property to change the color of the text to CIELCh 33, 82.155, 298.169 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(20, 62, 195) }.

This example shows how text in the color rgb(20, 62, 195) looks like.

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

Here you see how black text with a 4 pixel rgb(20, 62, 195) 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 CIELCh 33, 82.155, 298.169 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(20, 62, 195) }.

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

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

Background

The CSS property to change the background color of an element to CIELCh 33, 82.155, 298.169 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(20, 62, 195) }.

If only the background color should be changed .background{ background-color:rgb(20, 62, 195) } 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, "143EC3", 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 "226°, 90%, 77%" 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(226°, 90%, 77%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(33.00, 38.78, -72.42)", "CIELCH(33, 82.155, 298.169)", "YXY(7.5373, 0.1650, 0.1047)" and "CMYK(0.90, 0.68, 0.00, 0.23)".


Advertisment