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
Hex4F4A4A
RGB79, 74, 74
RGB Percent31%, 29%, 29%
CMY0.6902, 0.7098, 0.7098
CMYK0.00, 0.06, 0.06, 0.69
HSL0°, 3%, 30%
HSV0°, 6%, 31%
XYZ6.9093, 7.0542, 7.4760
Conversions Part 2
FormatColor
RYB79, 74, 74
Decimal5196362
CIELab31.93, 2.08, 0.74
CIELCh32, 2.207, 19.628
Yxy7.0542, 0.3223, 0.3290
Android (android.graphics.Color)4283386442 (0xFF4F4A4A)
YUV75.4950, -0.7370, 3.0739

Details

The Hex color 4F4A4A is a dark color, and the websafe version is hex 333333. A complement of this color would be 4A4F4F, and the grayscale version is 4C4C4C.

A 20% lighter version of the original color is 807B7B, and 231E1E is the 20% darker color. If you saturate the color by 10%, you get 4F4242, and if you desaturate by 10%, it is 4F5252.

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 4F4A4A 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 4F4A4A 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%.4F4A4AThe Color 4F4A4A.FFFFFFThe Color FFFFFF.EDE6E6The Color EDE6E6.D0CACAThe Color D0CACA.B5AFAFThe Color B5AFAF.9A9494The Color 9A9494.807B7BThe Color 807B7B.676262The Color 676262.4F4A4AThe Color 4F4A4A.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]4F4A4AThe Color 4F4A4A.000000The Color 000000.0D0505The Color 0D0505.231E1EThe Color 231E1E.383333The Color 383333.4F4A4AThe Color 4F4A4A.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.4F4A4AThe Color 4F4A4A.4F0303The Color 4F0303.4F0B0BThe Color 4F0B0B.4F1313The Color 4F1313.4F1B1BThe Color 4F1B1B.4F2323The Color 4F2323.4F2A2AThe Color 4F2A2A.4F3232The Color 4F3232.4F3A3AThe Color 4F3A3A.4F4242The Color 4F4242.4F4A4AThe Color 4F4A4A.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]4F4A4AThe Color 4F4A4A.4F9191The Color 4F9191.4F8989The Color 4F8989.4F8181The Color 4F8181.4F7979The Color 4F7979.4F7272The Color 4F7272.4F6A6AThe Color 4F6A6A.4F6262The Color 4F6262.4F5A5AThe Color 4F5A5A.4F5252The Color 4F5252.4F4A4AThe Color 4F4A4A.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.4E4A4CThe Color 4E4A4C.4F4A49The Color 4F4A49.4F4A4AThe Color 4F4A4A.4E4A4CThe Color 4E4A4C.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.4F4A4AThe Color 4F4A4A.494B4EThe Color 494B4E.494C49The Color 494C49.4F4A4AThe Color 4F4A4A.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.4F4A4AThe Color 4F4A4A.4A4F4FThe Color 4A4F4F.4F4A4AThe Color 4F4A4A.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.474C4EThe Color 474C4E.484C4AThe Color 484C4A.4F4A4AThe Color 4F4A4A.474C4EThe Color 474C4E.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.4F4A4AThe Color 4F4A4A.4B4B4EThe Color 4B4B4E.474C4CThe Color 474C4C.4B4B48The Color 4B4B48.4F4A4AThe Color 4F4A4A.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.4F4A4AThe Color 4F4A4A.484C4EThe Color 484C4E.474C4CThe Color 474C4C.4E4B48The Color 4E4B48.4F4A4AThe Color 4F4A4A.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.4F4A4AThe Color 4F4A4A.333333The Color 333333.B3B3B3The Color B3B3B3.333232The Color 333232.4F4A4FThe Color 4F4A4F.666464The Color 666464.4F4A4AThe Color 4F4A4A.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#4F4A4A
Advertisment

Previews

White Background

 

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

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

The color contrast ratio for these colors is 2.41, 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 4F4A4A Background

 

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

 

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

Color Blindness Simulation


Dichromacy

Original Color
4F4A4A
Protanopia
4D4B4A
Deuteranopia
53494A
Tritanopia
50494F

Trichromacy

Original Color
4F4A4A
Protanomaly
4E4B4A
Deuteranomaly
52494A
Tritanomaly
50494D

Monochromacy

Original Color
4F4A4A
Achromatopsia
4B4B4B
Achromatomaly
4C4B4B
Advertisment

CSS Examples


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

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

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

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

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

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

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

Background

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

If only the background color should be changed .background{ background-color:#4F4A4A } 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, "4F4A4A", 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 "0°, 6%, 31%" 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(0°, 6%, 31%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(31.93, 2.08, 0.74)", "CIELCH(32, 2.207, 19.628)", "YXY(7.0542, 0.3223, 0.3290)" and "CMYK(0.00, 0.06, 0.06, 0.69)".


Advertisment