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
Hex4A4C79
RGB74, 76, 121
RGB Percent29%, 30%, 47%
CMY0.7098, 0.7020, 0.5255
CMYK0.39, 0.37, 0.00, 0.53
HSL237°, 24%, 38%
HSV237°, 39%, 47%
XYZ8.8597, 8.0052, 19.1674
Conversions Part 2
FormatColor
RYB74, 76, 121
Decimal4869241
CIELab33.99, 11.22, -25.89
CIELCh34, 28.218, 293.420
Yxy8.0052, 0.2459, 0.2222
Android (android.graphics.Color)4283059321 (0xFF4A4C79)
YUV80.5320, 19.9507, -5.7286

Details

The Hex color 4A4C79 is a dark color, and the websafe version is hex 666699. A complement of this color would be 79774A, and the grayscale version is 505050.

A 20% lighter version of the original color is 7D7DAE, and 1A2048 is the 20% darker color. If you saturate the color by 10%, you get 3E4079, and if you desaturate by 10%, it is 565879.

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 4A4C79 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 4A4C79 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%.4A4C79The Color 4A4C79.FFFFFFThe Color FFFFFF.EAE9FFThe Color EAE9FF.CECDFFThe Color CECDFF.B2B1E5The Color B2B1E5.9797C9The Color 9797C9.7D7DAEThe Color 7D7DAE.636493The Color 636493.4A4C79The Color 4A4C79.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]4A4C79The Color 4A4C79.000000The Color 000000.00011CThe Color 00011C.030931The Color 030931.1A2048The Color 1A2048.323560The Color 323560.4A4C79The Color 4A4C79.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.4A4C79The Color 4A4C79.000579The Color 000579.010679The Color 010679.0E1279The Color 0E1279.1A1E79The Color 1A1E79.262979The Color 262979.323579The Color 323579.3E4079The Color 3E4079.4A4C79The Color 4A4C79.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]4A4C79The Color 4A4C79.B7B479The Color B7B479.ABA979The Color ABA979.9F9D79The Color 9F9D79.939279The Color 939279.878679The Color 878679.7A7A79The Color 7A7A79.6E6F79The Color 6E6F79.626379The Color 626379.565879The Color 565879.4A4C79The Color 4A4C79.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.1C547CThe Color 1C547C.67436BThe Color 67436B.4A4C79The Color 4A4C79.1C547CThe Color 1C547C.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.4A4C79The Color 4A4C79.025B4AThe Color 025B4A.72452DThe Color 72452D.4A4C79The Color 4A4C79.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.4A4C79The Color 4A4C79.79774AThe Color 79774A.4A4C79The Color 4A4C79.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.315934The Color 315934.624D23The Color 624D23.4A4C79The Color 4A4C79.315934The Color 315934.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.4A4C79The Color 4A4C79.005B61The Color 005B61.4C5425The Color 4C5425.7A3E3FThe Color 7A3E3F.4A4C79The Color 4A4C79.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.4A4C79The Color 4A4C79.195B42The Color 195B42.4C5425The Color 4C5425.733F5DThe Color 733F5D.4A4C79The Color 4A4C79.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.4A4C79The Color 4A4C79.4F4F4FThe Color 4F4F4F.CFCFCFThe Color CFCFCF.44444FThe Color 44444F.4A7977The Color 4A7977.8B8C9EThe Color 8B8C9E.4A4C79The Color 4A4C79.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#4A4C79

Previews

White Background

 

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

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

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

 

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

 

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

Color Blindness Simulation


Dichromacy

Original Color
4A4C79
Protanopia
404E7B
Deuteranopia
3D5078
Tritanopia
425359

Trichromacy

Original Color
4A4C79
Protanomaly
444D7A
Deuteranomaly
424F78
Tritanomaly
455065

Monochromacy

Original Color
4A4C79
Achromatopsia
515151
Achromatomaly
4E4F60

CSS Examples


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

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

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

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

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

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

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

Background

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

If only the background color should be changed .background{ background-color:#4A4C79 } 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, "4A4C79", 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 "237°, 39%, 47%" 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(237°, 39%, 47%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(33.99, 11.22, -25.89)", "CIELCH(34, 28.218, 293.420)", "YXY(8.0052, 0.2459, 0.2222)" and "CMYK(0.39, 0.37, 0.00, 0.53)".