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
Hex5E5E66
RGB94, 94, 102
RGB Percent37%, 37%, 40%
CMY0.6314, 0.6314, 0.6000
CMYK0.08, 0.08, 0.00, 0.60
HSL240°, 4%, 38%
HSV240°, 8%, 40%
XYZ11.0171, 11.3444, 14.1794
Conversions Part 2
FormatColor
RYB94, 94, 102
Decimal6184550
CIELab40.15, 1.74, -4.56
CIELCh40, 4.878, 290.929
Yxy11.3444, 0.3015, 0.3105
Android (android.graphics.Color)4284374630 (0xFF5E5E66)
YUV94.9120, 3.4944, -0.7998

Details

The Hex color 5E5E66 is a dark color, and the websafe version is hex 666666. A complement of this color would be 66665E, and the grayscale version is 5F5F5F.

A 20% lighter version of the original color is 909099, and 303037 is the 20% darker color. If you saturate the color by 10%, you get 545466, and if you desaturate by 10%, it is 686866.

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 Hex color 5E5E66 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 5E5E66 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%.5E5E66The Color 5E5E66.FFFFFFThe Color FFFFFF.E2E2EBThe Color E2E2EB.C6C6CFThe Color C6C6CF.ABABB4The Color ABABB4.909099The Color 909099.77777FThe Color 77777F.5E5E66The Color 5E5E66.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]5E5E66The Color 5E5E66.000000The Color 000000.00000CThe Color 00000C.1B1B22The Color 1B1B22.303037The Color 303037.46464EThe Color 46464E.5E5E66The Color 5E5E66.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.5E5E66The Color 5E5E66.020266The Color 020266.0C0C66The Color 0C0C66.171766The Color 171766.212166The Color 212166.2B2B66The Color 2B2B66.353566The Color 353566.3F3F66The Color 3F3F66.4A4A66The Color 4A4A66.545466The Color 545466.5E5E66The Color 5E5E66.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]5E5E66The Color 5E5E66.BABA66The Color BABA66.B0B066The Color B0B066.A5A566The Color A5A566.9B9B66The Color 9B9B66.919166The Color 919166.878766The Color 878766.7D7D66The Color 7D7D66.727266The Color 727266.686866The Color 686866.5E5E66The Color 5E5E66.Saturation Gradient

🖌️ View as Color Bucket

Advertisment

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.595F66The Color 595F66.635D64The Color 635D64.5E5E66The Color 5E5E66.595F66The Color 595F66.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.5E5E66The Color 5E5E66.57615DThe Color 57615D.665D59The Color 665D59.5E5E66The Color 5E5E66.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.5E5E66The Color 5E5E66.66665EThe Color 66665E.5E5E66The Color 5E5E66.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.5A605AThe Color 5A605A.635E57The Color 635E57.5E5E66The Color 5E5E66.5A605AThe Color 5A605A.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.5E5E66The Color 5E5E66.556161The Color 556161.5F5F57The Color 5F5F57.675C5CThe Color 675C5C.5E5E66The Color 5E5E66.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.5E5E66The Color 5E5E66.58615CThe Color 58615C.5F5F57The Color 5F5F57.655C61The Color 655C61.5E5E66The Color 5E5E66.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.5E5E66The Color 5E5E66.424242The Color 424242.C2C2C2The Color C2C2C2.414142The Color 414142.5E6666The Color 5E6666.828285The Color 828285.5E5E66The Color 5E5E66.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#5E5E66
Advertisment

Previews

White Background

 

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

The color contrast ratio for these colors is 6.42, which passes the AA level of the Web Content Accessibility Guidelines (WCAG) 2.0 for any text size and the AAA level for large text above 18pt. Details can be found at https://www.w3.org/TR/WCAG20/.

Black Background

 

This preview shows how the Hex color 5E5E66 looks on a black background.

The color contrast ratio for these colors is 3.27, which passes the AA level for large text above 18pt. Details can be found at https://www.w3.org/TR/WCAG20/.

Hex 5E5E66 Background

 

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

 

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

Color Blindness Simulation


Dichromacy

Original Color
5E5E66
Protanopia
5E5E66
Deuteranopia
645C66
Tritanopia
5E5E66

Trichromacy

Original Color
5E5E66
Protanomaly
5E5E66
Deuteranomaly
625D66
Tritanomaly
5E5E66

Monochromacy

Original Color
5E5E66
Achromatopsia
5F5F5F
Achromatomaly
5F5F62
Advertisment

CSS Examples


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

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

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

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

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

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

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

Background

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

If only the background color should be changed .background{ background-color:#5E5E66 } 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, "5E5E66", 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 "240°, 8%, 40%" 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(240°, 8%, 40%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(40.15, 1.74, -4.56)", "CIELCH(40, 4.878, 290.929)", "YXY(11.3444, 0.3015, 0.3105)" and "CMYK(0.08, 0.08, 0.00, 0.60)".


Advertisment