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 1
FormatColor
Hex000C12
RGB0, 12, 18
RGB Percent0%, 5%, 7%
CMY1.0000, 0.9529, 0.9294
CMYK1.00, 0.33, 0.00, 0.93
HSL200°, 100%, 4%
HSV200°, 100%, 7%
XYZ0.2407, 0.3066, 0.6188
Conversions Part 2
FormatColor
RYB0, 7, 18
Decimal3090
CIELab2.77, -2.08, -4.08
CIELCh3, 4.575, 242.960
Yxy0.3066, 0.2064, 0.2630
Android (android.graphics.Color)4278193170 (0xFF000C12)
YUV9.0960, 4.3897, -7.9772

Details

The Hex color 000C12 is a dark color, and the websafe version is hex 000000. A complement of this color would be 120600, and the grayscale version is 090909.

A 20% lighter version of the original color is 30383C, and 000000 is the 20% darker color. If you saturate the color by 10%, you get 000C12, and if you desaturate by 10%, it is 020D12.

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 Hex color 000C12 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 Hex color 000C12 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%.000C12The Color 000C12.E2ECF2The Color E2ECF2.C6D0D6The Color C6D0D6.ABB4BAThe Color ABB4BA.90999FThe Color 90999F.777F85The Color 777F85.5E666CThe Color 5E666C.464E53The Color 464E53.30383CThe Color 30383C.1B2227The Color 1B2227.000C12The Color 000C12.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]000C12The Color 000C12.000000The Color 000000.000C12The Color 000C12.Brightness Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]000C12The Color 000C12.101112The Color 101112.0E1112The Color 0E1112.0D1012The Color 0D1012.0B1012The Color 0B1012.090F12The Color 090F12.070E12The Color 070E12.050E12The Color 050E12.040D12The Color 040D12.020D12The Color 020D12.000C12The Color 000C12.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.000D0FThe Color 000D0F.050A13The Color 050A13.000C12The Color 000C12.000D0FThe Color 000D0F.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.000C12The Color 000C12.080C01The Color 080C01.14070AThe Color 14070A.000C12The Color 000C12.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.000C12The Color 000C12.120600The Color 120600.000C12The Color 000C12.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.0E0A00The Color 0E0A00.140704The Color 140704.000C12The Color 000C12.0E0A00The Color 0E0A00.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.000C12The Color 000C12.020D05The Color 020D05.120800The Color 120800.11070FThe Color 11070F.000C12The Color 000C12.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.000C12The Color 000C12.0A0B00The Color 0A0B00.120800The Color 120800.0A0912The Color 0A0912.000C12The Color 000C12.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.000C12The Color 000C12.0D0D0DThe Color 0D0D0D.8C8C8CThe Color 8C8C8C.080B0DThe Color 080B0D.001206The Color 001206.101517The Color 101517.000C12The Color 000C12.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#000C12

Previews

White Background

 

This preview shows how the Hex color 000C12 looks on a white background.

The color contrast ratio for these colors is 19.79, 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 Hex color 000C12 looks on a black background.

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

Hex 000C12 Background

 

This preview shows how black text looks on a background with the Hex color 000C12.

 

This preview shows how white text looks on a background with the Hex color 000C12.

Color Blindness Simulation


Dichromacy

Original Color
000C12
Protanopia
090B11
Deuteranopia
070B12
Tritanopia
000D0E

Trichromacy

Original Color
000C12
Protanomaly
060B11
Deuteranomaly
040B12
Tritanomaly
000D0F

Monochromacy

Original Color
000C12
Achromatopsia
090909
Achromatomaly
060A0C

CSS Examples


The CSS property to change the color of the text to Hex 000C12 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:#000C12 }.

This example shows how text in the color #000C12 looks like.

If you want to add a text shadow in that color use .shadow{ text-shadow: 4px 4px 2px #000C12 }.

Here you see how black text with a 4 pixel #000C12 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 Hex 000C12 is called "border". The border property can be set on classes, ids or directly on the HTML element .border, #border, table{ border:4px solid #000C12 }.

If only the border color should be changed .border{ border-color:#000C12 } can be used.

Here you see how a box with a 4 pixel #000C12 colored shadow looks like.

If you want to add a box shadow in that color use .boxshadow{ -moz-box-shadow:4px 4px 4px 4px #000C12; -webkit-box-shadow:4px 4px 4px 4px #000C12; box-shadow:4px 4px 4px 4px #000C12 }.

Background

The CSS property to change the background color of an element to Hex 000C12 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:#000C12 }.

If only the background color should be changed .background{ background-color:#000C12 } 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, "000C12", 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 "200°, 100%, 7%" 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(200°, 100%, 7%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(2.77, -2.08, -4.08)", "CIELCH(3, 4.575, 242.960)", "YXY(0.3066, 0.2064, 0.2630)" and "CMYK(1.00, 0.33, 0.00, 0.93)".


    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.