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
Hex5F112A
RGB95, 17, 42
RGB Percent37%, 7%, 16%
CMY0.6275, 0.9333, 0.8353
CMYK0.00, 0.82, 0.56, 0.63
HSL341°, 70%, 22%
HSV341°, 82%, 37%
XYZ5.3377, 3.0010, 2.4884
Conversions Part 2
FormatColor
RYB95, 17, 42
Decimal6230314
CIELab20.05, 36.10, 5.39
CIELCh20, 36.496, 8.500
Yxy3.0010, 0.4930, 0.2772
Android (android.graphics.Color)4284420394 (0xFF5F112A)
YUV43.1720, -0.5778, 45.4532

Details

The Hex color 5F112A is a dark color, and the websafe version is hex 660033. A complement of this color would be 115F46, and the grayscale version is 2B2B2B.

A 20% lighter version of the original color is 954457, and 2F0002 is the 20% darker color. If you saturate the color by 10%, you get 5F0824, and if you desaturate by 10%, it is 5F1A30.

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 5F112A 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 5F112A 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%.5F112AThe Color 5F112A.FFFFFFThe Color FFFFFF.FFE5F6The Color FFE5F6.FFC9DAThe Color FFC9DA.FFADBEThe Color FFADBE.EC92A3The Color EC92A3.CE7789The Color CE7789.B25D6FThe Color B25D6F.954457The Color 954457.7A2B40The Color 7A2B40.5F112AThe Color 5F112A.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]5F112AThe Color 5F112A.000000The Color 000000.2F0002The Color 2F0002.450016The Color 450016.5F112AThe Color 5F112A.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.5F112AThe Color 5F112A.5F001EThe Color 5F001E.5F0824The Color 5F0824.5F112AThe Color 5F112A.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]5F112AThe Color 5F112A.5F6764The Color 5F6764.5F5D5EThe Color 5F5D5E.5F5457The Color 5F5457.5F4A51The Color 5F4A51.5F414AThe Color 5F414A.5F3744The Color 5F3744.5F2D3DThe Color 5F2D3D.5F2437The Color 5F2437.5F1A30The Color 5F1A30.5F112AThe Color 5F112A.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.551745The Color 551745.5A1B10The Color 5A1B10.5F112AThe Color 5F112A.551745The Color 551745.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.5F112AThe Color 5F112A.003862The Color 003862.183800The Color 183800.5F112AThe Color 5F112A.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.5F112AThe Color 5F112A.115F46The Color 115F46.5F112AThe Color 5F112A.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.003C51The Color 003C51.003B1CThe Color 003B1C.5F112AThe Color 5F112A.003C51The Color 003C51.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.5F112AThe Color 5F112A.003166The Color 003166.003C38The Color 003C38.363200The Color 363200.5F112AThe Color 5F112A.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.5F112AThe Color 5F112A.003A5EThe Color 003A5E.003C38The Color 003C38.522400The Color 522400.5F112AThe Color 5F112A.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.5F112AThe Color 5F112A.3D3D3DThe Color 3D3D3D.BDBDBDThe Color BDBDBD.3D2B31The Color 3D2B31.45115FThe Color 45115F.7A5C66The Color 7A5C66.5F112AThe Color 5F112A.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#5F112A

Previews

White Background

 

This preview shows how the Hex color 5F112A looks on a white background.

The color contrast ratio for these colors is 13.12, 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 5F112A looks on a black background.

The color contrast ratio for these colors is 1.60, 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 5F112A Background

 

This preview shows how black text looks on a background with the Hex color 5F112A.

 

This preview shows how white text looks on a background with the Hex color 5F112A.

Color Blindness Simulation


Dichromacy

Original Color
5F112A
Protanopia
31323A
Deuteranopia
3C3026
Tritanopia
5E1617

Trichromacy

Original Color
5F112A
Protanomaly
422634
Deuteranomaly
492527
Tritanomaly
5E141E

Monochromacy

Original Color
5F112A
Achromatopsia
2B2B2B
Achromatomaly
3E222B

CSS Examples


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

This example shows how text in the color #5F112A looks like.

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

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

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

Here you see how a box with a 4 pixel #5F112A colored shadow looks like.

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

Background

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

If only the background color should be changed .background{ background-color:#5F112A } 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, "5F112A", 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 "341°, 82%, 37%" 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(341°, 82%, 37%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(20.05, 36.10, 5.39)", "CIELCH(20, 36.496, 8.500)", "YXY(3.0010, 0.4930, 0.2772)" and "CMYK(0.00, 0.82, 0.56, 0.63)".


    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.