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
Hex645A5E
RGB100, 90, 94
RGB Percent39%, 35%, 37%
CMY0.6078, 0.6471, 0.6314
CMYK0.00, 0.10, 0.06, 0.61
HSL336°, 5%, 37%
HSV336°, 10%, 39%
XYZ10.9321, 10.8298, 12.1039
Conversions Part 2
FormatColor
RYB100, 90, 94
Decimal6576734
CIELab39.29, 4.83, -0.83
CIELCh39, 4.902, 350.209
Yxy10.8298, 0.3228, 0.3198
Android (android.graphics.Color)4284766814 (0xFF645A5E)
YUV93.4460, 0.2731, 5.7479

Details

The Hex color 645A5E is a dark color, and the websafe version is hex 666666. A complement of this color would be 5A6460, and the grayscale version is 5D5D5D.

A 20% lighter version of the original color is 978C90, and 352C30 is the 20% darker color. If you saturate the color by 10%, you get 645058, and if you desaturate by 10%, it is 646464.

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 645A5E 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 645A5E 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%.645A5EThe Color 645A5E.FFFFFFThe Color FFFFFF.FFFAFFThe Color FFFAFF.E9DDE2The Color E9DDE2.CDC2C6The Color CDC2C6.B2A6ABThe Color B2A6AB.978C90The Color 978C90.7D7377The Color 7D7377.645A5EThe Color 645A5E.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]645A5EThe Color 645A5E.000000The Color 000000.050000The Color 050000.20181BThe Color 20181B.352C30The Color 352C30.4C4346The Color 4C4346.645A5EThe Color 645A5E.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.645A5EThe Color 645A5E.640028The Color 640028.640A2EThe Color 640A2E.641434The Color 641434.641E3AThe Color 641E3A.642840The Color 642840.643246The Color 643246.643C4CThe Color 643C4C.644652The Color 644652.645058The Color 645058.645A5EThe Color 645A5E.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]645A5EThe Color 645A5E.64B494The Color 64B494.64AA8EThe Color 64AA8E.64A088The Color 64A088.649682The Color 649682.648C7CThe Color 648C7C.648276The Color 648276.647870The Color 647870.646E6AThe Color 646E6A.646464The Color 646464.645A5EThe Color 645A5E.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.615B62The Color 615B62.655A5AThe Color 655A5A.645A5EThe Color 645A5E.615B62The Color 615B62.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.645A5EThe Color 645A5E.545E62The Color 545E62.5D5D55The Color 5D5D55.645A5EThe Color 645A5E.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.645A5EThe Color 645A5E.5A6460The Color 5A6460.645A5EThe Color 645A5E.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.535F5FThe Color 535F5F.585E57The Color 585E57.645A5EThe Color 645A5E.535F5FThe Color 535F5F.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.645A5EThe Color 645A5E.575D64The Color 575D64.555F5BThe Color 555F5B.615C55The Color 615C55.645A5EThe Color 645A5E.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.645A5EThe Color 645A5E.535F62The Color 535F62.555F5BThe Color 555F5B.655A58The Color 655A58.645A5EThe Color 645A5E.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.645A5EThe Color 645A5E.424242The Color 424242.C2C2C2The Color C2C2C2.424041The Color 424041.605A64The Color 605A64.827E80The Color 827E80.645A5EThe Color 645A5E.Sweetspot

🖌️ View as Color Bucket

SVG Images

A selection of SVG images using the hex version #645A5E of the current color.

#645A5E

Previews

White Background

 

This preview shows how the Hex color 645A5E looks on a white background.

The color contrast ratio for these colors is 6.63, 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 645A5E looks on a black background.

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

Hex 645A5E Background

 

This preview shows how black text looks on a background with the Hex color 645A5E.

 

This preview shows how white text looks on a background with the Hex color 645A5E.

Color Blindness Simulation


Dichromacy

Original Color
645A5E
Protanopia
5D5C5F
Deuteranopia
655A5E
Tritanopia
645A61

Trichromacy

Original Color
645A5E
Protanomaly
605B5F
Deuteranomaly
655A5E
Tritanomaly
645A60

Monochromacy

Original Color
645A5E
Achromatopsia
5D5D5D
Achromatomaly
605C5D

CSS Examples


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

This example shows how text in the color #645A5E looks like.

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

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

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

Here you see how a box with a 4 pixel #645A5E colored shadow looks like.

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

Background

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

If only the background color should be changed .background{ background-color:#645A5E } 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, "645A5E", 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 "336°, 10%, 39%" 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(336°, 10%, 39%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(39.29, 4.83, -0.83)", "CIELCH(39, 4.902, 350.209)", "YXY(10.8298, 0.3228, 0.3198)" and "CMYK(0.00, 0.10, 0.06, 0.61)".


    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.