Converting Colors

Conversions · Details · Harmonies · Images · Preview · CSS · Help

FormatColor
HSL11°, 9%, 34%
CIELCh36, 6.081, 37.831
Yxy9.0320, 0.3409, 0.3365
Android (android.graphics.Color)4284437071 (0xFF5F524F)
YUV85.5450, -3.2267, 8.2920

Add this color to the bucket
(The bucket allows you to create a color palette)

Go to the color bucket to see your palette.

Get Conversions and Harmonies as JSON or XML via the REST API.


Details

The Hex color 5F524F is a dark color, and the websafe version is hex 666666. A complement of this color would be 4F5C5F, and the grayscale version is 565656.

A 20% lighter version of the original color is 928380, and 312523 is the 20% darker color. If you saturate the color by 10%, you get 5F4A46, and if you desaturate by 10%, it is 5F5A59.

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 Gradient

These gradients show how the Hex color 5F524F changes by changing the brightness by 10 percent. The first figure shows a shift by +10% for each color and the second figure -10%.

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%.5F524FThe Color 5F524F.FFFFFFThe Color FFFFFF.FFF0EDThe Color FFF0ED.E4D4D0The Color E4D4D0.C8B8B5The Color C8B8B5.AC9D9AThe Color AC9D9A.928380The Color 928380.786A67The Color 786A67.5F524FThe Color 5F524F.Brightness Gradient
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%.5F524FThe Color 5F524F.000000The Color 000000.1C110DThe Color 1C110D.312523The Color 312523.473B38The Color 473B38.5F524FThe Color 5F524F.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the Hex color 5F524F by changing the saturation by 10% instead.

Saturation GradientSimilar to the brightness gradients but the following show a change of the {format} color {color} by changing the saturation by 10% instead.5F524FThe Color 5F524F.5F1200The Color 5F1200.5F1403The Color 5F1403.5F1C0DThe Color 5F1C0D.5F2416The Color 5F2416.5F2B20The Color 5F2B20.5F3329The Color 5F3329.5F3B33The Color 5F3B33.5F433CThe Color 5F433C.5F4A46The Color 5F4A46.5F524FThe Color 5F524F.Saturation Gradient
Saturation GradientSimilar to the brightness gradients but the following show a change of the {format} color {color} by changing the saturation by 10% instead.5F524FThe Color 5F524F.5F97A5The Color 5F97A5.5F909BThe Color 5F909B.5F8892The Color 5F8892.5F8088The Color 5F8088.5F797EThe Color 5F797E.5F7175The Color 5F7175.5F696CThe Color 5F696C.5F6162The Color 5F6162.5F5A59The Color 5F5A59.5F524FThe Color 5F524F.Saturation Gradient

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.5F5254The Color 5F5254.5C534CThe Color 5C534C.5F524FThe Color 5F524F.5F5254The Color 5F5254.Analogous

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.5F524FThe Color 5F524F.51555EThe Color 51555E.4D5751The Color 4D5751.5F524FThe Color 5F524F.Triad

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.5F524FThe Color 5F524F.4F5C5FThe Color 4F5C5F.5F524FThe Color 5F524F.Complementary

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.4C565EThe Color 4C565E.495856The Color 495856.5F524FThe Color 5F524F.4C565EThe Color 4C565E.Split Complementary

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.5F524FThe Color 5F524F.57535CThe Color 57535C.49575BThe Color 49575B.52564DThe Color 52564D.5F524FThe Color 5F524F.Square

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.5F524FThe Color 5F524F.4F555EThe Color 4F555E.49575BThe Color 49575B.59544BThe Color 59544B.5F524FThe Color 5F524F.Rectangle

Sweetspot

The sweet spot groups the original color and five complimentary colors.

SweetspotThe sweet spot groups the original color and five complimentary colors.5F524FThe Color 5F524F.3D3D3DThe Color 3D3D3D.BDBDBDThe Color BDBDBD.3D3A3AThe Color 3D3A3A.5F4F5CThe Color 5F4F5C.7A7574The Color 7A7574.5F524FThe Color 5F524F.Sweetspot

SVG Images

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

#5F524F

Previews

White Background

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

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

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

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

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


CSS Examples


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

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

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

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

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

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

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

Background

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

If only the background color should be changed .background{ background-color:#5F524F } 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.

Upskill your career and get 10% off on a Udacity Nanodegrees ProgramAdvertisment🛈

How-to use Converting Colors

To convert, paste a string in one of these color formats, for example, "5F524F", 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 "11°, 17%, 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(11°, 17%, 37%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(36.05, 4.80, 3.73)", "CIELCH(36, 6.081, 37.831)", "YXY(9.0320, 0.3409, 0.3365)" and "CMYK(0.00, 0.14, 0.17, 0.63)".