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
Hex4C664B
RGB76, 102, 75
RGB Percent30%, 40%, 29%
CMY0.7020, 0.6000, 0.7059
CMYK0.25, 0.00, 0.26, 0.60
HSL118°, 15%, 35%
HSV118°, 26%, 40%
XYZ9.0019, 11.5472, 8.4110
Conversions Part 2
FormatColor
RYB75, 102, 101
Decimal5006923
CIELab40.49, -15.57, 12.21
CIELCh40, 19.787, 141.882
Yxy11.5472, 0.3108, 0.3987
Android (android.graphics.Color)4283197003 (0xFF4C664B)
YUV91.1480, -7.9610, -13.2848

Details

The Hex color 4C664B is a dark color, and the websafe version is hex 336633. A complement of this color would be 654B66, and the grayscale version is 5B5B5B.

A 20% lighter version of the original color is 7D997C, and 1F371F is the 20% darker color. If you saturate the color by 10%, you get 426641, and if you desaturate by 10%, it is 566655.

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 4C664B 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 4C664B 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%.4C664BThe Color 4C664B.FFFFFFThe Color FFFFFF.EAFFE8The Color EAFFE8.CEECCCThe Color CEECCC.B2D0B0The Color B2D0B0.98B496The Color 98B496.7D997CThe Color 7D997C.647F63The Color 647F63.4C664BThe Color 4C664B.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]4C664BThe Color 4C664B.000000The Color 000000.000300The Color 000300.0A2108The Color 0A2108.1F371FThe Color 1F371F.354E34The Color 354E34.4C664BThe Color 4C664B.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.4C664BThe Color 4C664B.046600The Color 046600.076604The Color 076604.11660EThe Color 11660E.1B6618The Color 1B6618.256622The Color 256622.2F662CThe Color 2F662C.386637The Color 386637.426641The Color 426641.4C664BThe Color 4C664B.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]4C664BThe Color 4C664B.A466A7The Color A466A7.9B669DThe Color 9B669D.916692The Color 916692.876688The Color 876688.7D667EThe Color 7D667E.736674The Color 736674.69666AThe Color 69666A.60665FThe Color 60665F.566655The Color 566655.4C664BThe Color 4C664B.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.5F6241The Color 5F6241.39685AThe Color 39685A.4C664BThe Color 4C664B.5F6241The Color 5F6241.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.4C664BThe Color 4C664B.805454The Color 805454.44627FThe Color 44627F.4C664BThe Color 4C664B.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.4C664BThe Color 4C664B.654B66The Color 654B66.4C664BThe Color 4C664B.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.7C5465The Color 7C5465.5C5D7DThe Color 5C5D7D.4C664BThe Color 4C664B.7C5465The Color 7C5465.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.4C664BThe Color 4C664B.7B5847The Color 7B5847.705774The Color 705774.306678The Color 306678.4C664BThe Color 4C664B.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.4C664BThe Color 4C664B.805359The Color 805359.705774The Color 705774.2F6865The Color 2F6865.4C664BThe Color 4C664B.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.4C664BThe Color 4C664B.424242The Color 424242.C2C2C2The Color C2C2C2.3C423CThe Color 3C423C.66654BThe Color 66654B.7A857AThe Color 7A857A.4C664BThe Color 4C664B.Sweetspot

🖌️ View as Color Bucket

SVG Images

A selection of SVG images using the hex version #4C664B of the current color.

#4C664B
Advertisment

Previews

White Background

 

This preview shows how the Hex color 4C664B looks on a white background.

The color contrast ratio for these colors is 6.35, 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 4C664B looks on a black background.

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

Hex 4C664B Background

 

This preview shows how black text looks on a background with the Hex color 4C664B.

 

This preview shows how white text looks on a background with the Hex color 4C664B.

Color Blindness Simulation


Dichromacy

Original Color
4C664B
Protanopia
665F48
Deuteranopia
6F5B4D
Tritanopia
51626A

Trichromacy

Original Color
4C664B
Protanomaly
5D6249
Deuteranomaly
625F4C
Tritanomaly
4F635F

Monochromacy

Original Color
4C664B
Achromatopsia
5B5B5B
Achromatomaly
565F55
Advertisment

CSS Examples


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

This example shows how text in the color #4C664B looks like.

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

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

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

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

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

Background

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

If only the background color should be changed .background{ background-color:#4C664B } 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, "4C664B", 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 "118°, 26%, 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(118°, 26%, 40%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(40.49, -15.57, 12.21)", "CIELCH(40, 19.787, 141.882)", "YXY(11.5472, 0.3108, 0.3987)" and "CMYK(0.25, 0.00, 0.26, 0.60)".


Advertisment