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
Hex4A625D
RGB74, 98, 93
RGB Percent29%, 38%, 36%
CMY0.7098, 0.6157, 0.6353
CMYK0.24, 0.00, 0.05, 0.62
HSL167°, 14%, 34%
HSV167°, 24%, 38%
XYZ9.1675, 10.9815, 11.9924
Conversions Part 2
FormatColor
RYB74, 87, 98
Decimal4874845
CIELab39.55, -10.13, -0.09
CIELCh40, 10.135, 180.533
Yxy10.9815, 0.2852, 0.3417
Android (android.graphics.Color)4283064925 (0xFF4A625D)
YUV90.2540, 1.3538, -14.2548

Details

The Decimal color 4874845 is a dark color, and the websafe version is hex 336666. A complement of this color would be 6441551, and the grayscale version is 5921370.

A 20% lighter version of the original color is 8099215, and 1913647 is the 20% darker color. If you saturate the color by 10%, you get 4219483, and if you desaturate by 10%, it is 5530207.

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 Decimal color 4874845 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 Decimal color 4874845 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%.4874845The Color 4874845.16777215The Color 16777215.15269886The Color 15269886.13428705The Color 13428705.11586501The Color 11586501.9809834The Color 9809834.8099215The Color 8099215.6454134The Color 6454134.4874845The Color 4874845.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]4874845The Color 4874845.0The Color 0.531994The Color 531994.1913647The Color 1913647.3361349The Color 3361349.4874845The Color 4874845.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.4874845The Color 4874845.25166The Color 25166.352847The Color 352847.1008209The Color 1008209.1663571The Color 1663571.2318933The Color 2318933.2974295The Color 2974295.3564121The Color 3564121.4219483The Color 4219483.4874845The Color 4874845.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]4874845The Color 4874845.10642031The Color 10642031.9986669The Color 9986669.9396843The Color 9396843.8741481The Color 8741481.8086119The Color 8086119.7430757The Color 7430757.6775395The Color 6775395.6185569The Color 6185569.5530207The Color 5530207.4874845The Color 4874845.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.5333333The Color 5333333.4743781The Color 4743781.4874845The Color 4874845.5333333The Color 5333333.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.4874845The Color 4874845.7035471The Color 7035471.6249323The Color 6249323.4874845The Color 4874845.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.4874845The Color 4874845.6441551The Color 6441551.4874845The Color 4874845.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.7231573The Color 7231573.6838629The Color 6838629.4874845The Color 4874845.7231573The Color 7231573.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.4874845The Color 4874845.6577485The Color 6577485.7231325The Color 7231325.5529197The Color 5529197.4874845The Color 4874845.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.4874845The Color 4874845.7100753The Color 7100753.7231325The Color 7231325.4809066The Color 4809066.4874845The Color 4874845.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.4874845The Color 4874845.4210752The Color 4210752.12566463The Color 12566463.3883071The Color 3883071.5202506The Color 5202506.7831678The Color 7831678.4874845The Color 4874845.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#4A625D
Advertisment

Previews

White Background

 

This preview shows how the Decimal color 4874845 looks on a white background.

The color contrast ratio for these colors is 6.57, 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 Decimal color 4874845 looks on a black background.

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

Decimal 4874845 Background

 

This preview shows how black text looks on a background with the Decimal color 4874845.

 

This preview shows how white text looks on a background with the Decimal color 4874845.

Color Blindness Simulation


Dichromacy

Original Color
4874845
Protanopia
6249818
Deuteranopia
6642271
Tritanopia
5005416

Trichromacy

Original Color
4874845
Protanomaly
5726043
Deuteranomaly
5987678
Tritanomaly
4940132

Monochromacy

Original Color
4874845
Achromatopsia
5921370
Achromatomaly
5528923
Advertisment

CSS Examples


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

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

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

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

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

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

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

Background

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

If only the background color should be changed .background{ background-color:#4A625D } 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, "4A625D", 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 "167°, 24%, 38%" 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(167°, 24%, 38%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(39.55, -10.13, -0.09)", "CIELCH(40, 10.135, 180.533)", "YXY(10.9815, 0.2852, 0.3417)" and "CMYK(0.24, 0.00, 0.05, 0.62)".


Advertisment