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
HexA7AB18
RGB167, 171, 24
RGB Percent65%, 67%, 9%
CMY0.3451, 0.3294, 0.9059
CMYK0.02, 0.00, 0.86, 0.33
HSL62°, 75%, 38%
HSV62°, 86%, 67%
XYZ30.6641, 37.4073, 6.4683
Conversions Part 2
FormatColor
RYB24, 171, 28
Decimal10988312
CIELab67.58, -17.34, 66.07
CIELCh68, 68.305, 104.705
Yxy37.4073, 0.4114, 0.5018
Android (android.graphics.Color)4289178392 (0xFFA7AB18)
YUV153.0460, -63.6197, 12.2377

Details

The Hex color A7AB18 is a dark color, and the websafe version is hex 999900. A complement of this color would be 1C18AB, and the grayscale version is 9A9A9A.

A 20% lighter version of the original color is E1E256, and 6F7700 is the 20% darker color. If you saturate the color by 10%, you get A7AB07, and if you desaturate by 10%, it is A7AB29.

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 A7AB18 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 A7AB18 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%.A7AB18The Color A7AB18.FFFFFFThe Color FFFFFF.FFFFE3The Color FFFFE3.FFFFC6The Color FFFFC6.FFFFAAThe Color FFFFAA.FFFF8DThe Color FFFF8D.FFFF72The Color FFFF72.E1E256The Color E1E256.C4C63AThe Color C4C63A.A7AB18The Color A7AB18.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]A7AB18The Color A7AB18.000000The Color 000000.001D00The Color 001D00.1F3100The Color 1F3100.394700The Color 394700.545E00The Color 545E00.6F7700The Color 6F7700.8B9100The Color 8B9100.A7AB18The Color A7AB18.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.A7AB18The Color A7AB18.A6AB00The Color A6AB00.A7AB07The Color A7AB07.A7AB18The Color A7AB18.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]A7AB18The Color A7AB18.ABABB2The Color ABABB2.ABABA1The Color ABABA1.AAAB90The Color AAAB90.AAAB7FThe Color AAAB7F.A9AB6DThe Color A9AB6D.A9AB5CThe Color A9AB5C.A8AB4BThe Color A8AB4B.A8AB3AThe Color A8AB3A.A7AB29The Color A7AB29.A7AB18The Color A7AB18.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.DD9621The Color DD9621.5FB946The Color 5FB946.A7AB18The Color A7AB18.DD9621The Color DD9621.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.A7AB18The Color A7AB18.FF6EC7The Color FF6EC7.00BFFAThe Color 00BFFA.A7AB18The Color A7AB18.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.A7AB18The Color A7AB18.1C18ABThe Color 1C18AB.A7AB18The Color A7AB18.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.CE87FDThe Color CE87FD.00B4FFThe Color 00B4FF.A7AB18The Color A7AB18.CE87FDThe Color CE87FD.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.A7AB18The Color A7AB18.FF6989The Color FF6989.62A1FFThe Color 62A1FF.00C2C2The Color 00C2C2.A7AB18The Color A7AB18.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.A7AB18The Color A7AB18.F675DAThe Color F675DA.62A1FFThe Color 62A1FF.00BE6DThe Color 00BE6D.A7AB18The Color A7AB18.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.A7AB18The Color A7AB18.707070The Color 707070.F0F0F0The Color F0F0F0.6F704DThe Color 6F704D.AB1A18The Color AB1A18.DCDEA4The Color DCDEA4.A7AB18The Color A7AB18.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#A7AB18

Previews

White Background

 

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

The color contrast ratio for these colors is 2.48, which fails to comply with the Web Content Accessibility Guidelines (WCAG) 2.0. Details can be found at https://www.w3.org/TR/WCAG20/.

Black Background

 

This preview shows how the Hex color A7AB18 looks on a black background.

The color contrast ratio for these colors is 8.48, 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/.

Hex A7AB18 Background

 

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

 

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

Color Blindness Simulation


Dichromacy

Original Color
A7AB18
Protanopia
B9A516
Deuteranopia
CF9C23
Tritanopia
B29FAC

Trichromacy

Original Color
A7AB18
Protanomaly
B2A717
Deuteranomaly
C0A11F
Tritanomaly
AEA376

Monochromacy

Original Color
A7AB18
Achromatopsia
999999
Achromatomaly
9EA06A

CSS Examples


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

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

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

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

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

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

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

Background

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

If only the background color should be changed .background{ background-color:#A7AB18 } 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, "A7AB18", 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 "62°, 86%, 67%" 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(62°, 86%, 67%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(67.58, -17.34, 66.07)", "CIELCH(68, 68.305, 104.705)", "YXY(37.4073, 0.4114, 0.5018)" and "CMYK(0.02, 0.00, 0.86, 0.33)".