Converting Colors


Conversions · Details · Harmonies · Images · Preview · 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
Hex4E4E4E
RGB78, 78, 78
RGB Percent31%, 31%, 31%
CMY0.6941, 0.6941, 0.6941
CMYK0.00, 0.00, 0.00, 0.69
HSL0°, 0%, 31%
HSV0°, 0%, 31%
XYZ7.2414, 7.6185, 8.2966
Conversions Part 2
FormatColor
RYB78, 78, 78
Decimal5131854
CIELab33.18, 0.00, -0.00
CIELCh33, 0.005, 296.813
Yxy7.6185, 0.3127, 0.3290
Android (android.graphics.Color)4283321934 (0xFF4E4E4E)
YUV78.0000, 0.0000, 0.0000

Details

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

A 20% lighter version of the original color is 7F7F7F, and 222222 is the 20% darker color. If you saturate the color by 10%, you get 4E4646, and if you desaturate by 10%, it is 4E5656.

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 4E4E4E 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 4E4E4E 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%.4E4E4EThe Color 4E4E4E.FFFFFFThe Color FFFFFF.EBEBEBThe Color EBEBEB.CFCFCFThe Color CFCFCF.B4B4B4The Color B4B4B4.999999The Color 999999.7F7F7FThe Color 7F7F7F.666666The Color 666666.4E4E4EThe Color 4E4E4E.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]4E4E4EThe Color 4E4E4E.000000The Color 000000.0C0C0CThe Color 0C0C0C.222222The Color 222222.373737The Color 373737.4E4E4EThe Color 4E4E4E.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.4E4E4EThe Color 4E4E4E.4E0808The Color 4E0808.4E1010The Color 4E1010.4E1717The Color 4E1717.4E1F1FThe Color 4E1F1F.4E2727The Color 4E2727.4E2F2FThe Color 4E2F2F.4E3737The Color 4E3737.4E3E3EThe Color 4E3E3E.4E4646The Color 4E4646.4E4E4EThe Color 4E4E4E.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]4E4E4EThe Color 4E4E4E.4E9494The Color 4E9494.4E8C8CThe Color 4E8C8C.4E8585The Color 4E8585.4E7D7DThe Color 4E7D7D.4E7575The Color 4E7575.4E6D6DThe Color 4E6D6D.4E6565The Color 4E6565.4E5E5EThe Color 4E5E5E.4E5656The Color 4E5656.4E4E4EThe Color 4E4E4E.Saturation Gradient

🖌️ View as Color Bucket

Harmonies

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.4E4E4EThe Color 4E4E4E.B3B3B3The Color B3B3B3.333333The Color 333333.666666The Color 666666.4E4E4EThe Color 4E4E4E.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#4E4E4E

Previews

White Background

 

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

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

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

 

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

 

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

CSS Examples


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

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

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

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

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

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

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

Background

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

If only the background color should be changed .background{ background-color:#4E4E4E } 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, "4E4E4E", 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°, 0%, 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°, 0%, 31%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(33.18, 0.00, -0.00)", "CIELCH(33, 0.005, 296.813)", "YXY(7.6185, 0.3127, 0.3290)" and "CMYK(0.00, 0.00, 0.00, 0.69)".


125x125 Fiverr Pro  Grammarly Logo    10% discount- Jump- start your career  Searchmetrics Essentials - try for free

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.