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
Hex8A8A8A
RGB138, 138, 138
RGB Percent54%, 54%, 54%
CMY0.4588, 0.4588, 0.4588
CMYK0.00, 0.00, 0.00, 0.46
HSL0°, 0%, 54%
HSV0°, 0%, 54%
XYZ24.1572, 25.4152, 27.6772
Conversions Part 2
FormatColor
RYB138, 138, 138
Decimal9079434
CIELab57.48, 0.00, -0.01
CIELCh57, 0.007, 296.813
Yxy25.4152, 0.3127, 0.3290
Android (android.graphics.Color)4287269514 (0xFF8A8A8A)
YUV138.0000, 0.0000, 0.0000

Details

The Decimal color 9079434 is a dark color, and the websafe version is hex 999999. A complement of this color would be 9079434, and the grayscale version is 9079434.

A 20% lighter version of the original color is 12566463, and 5789784 is the 20% darker color. If you saturate the color by 10%, you get 9075836, and if you desaturate by 10%, it is 9083032.

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 9079434 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 9079434 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%.9079434The Color 9079434.16777215The Color 16777215.16316664The Color 16316664.14408667The Color 14408667.12566463The Color 12566463.10790052The Color 10790052.9079434The Color 9079434.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]9079434The Color 9079434.0The Color 0.1447446The Color 1447446.2829099The Color 2829099.4276545The Color 4276545.5789784The Color 5789784.7434609The Color 7434609.9079434The Color 9079434.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.9079434The Color 9079434.9047566The Color 9047566.9051164The Color 9051164.9054505The Color 9054505.9058103The Color 9058103.9061701The Color 9061701.9065299The Color 9065299.9068897The Color 9068897.9072238The Color 9072238.9075836The Color 9075836.9079434The Color 9079434.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]9079434The Color 9079434.9109503The Color 9109503.9107704The Color 9107704.9104363The Color 9104363.9100765The Color 9100765.9097167The Color 9097167.9093569The Color 9093569.9089971The Color 9089971.9086630The Color 9086630.9083032The Color 9083032.9079434The Color 9079434.Saturation Gradient

🖌️ View as Color Bucket

Advertisment

Harmonies

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.9079434The Color 9079434.14277081The Color 14277081.5855577The Color 5855577.11776947The Color 11776947.9079434The Color 9079434.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#8A8A8A
Advertisment

Previews

White Background

 

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

The color contrast ratio for these colors is 3.45, which passes the AA 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 9079434 looks on a black background.

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

Decimal 9079434 Background

 

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

 

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

Color Blindness Simulation


Dichromacy

Original Color
9079434
Protanopia
9210250
Deuteranopia
9930379
Tritanopia
9144723

Trichromacy

Original Color
9079434
Protanomaly
9144714
Deuteranomaly
9602955
Tritanomaly
9144720

Monochromacy

Original Color
9079434
Achromatopsia
9079434
Achromatomaly
9079434
Advertisment

CSS Examples


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

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

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

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

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

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

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

Background

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

If only the background color should be changed .background{ background-color:#8A8A8A } 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, "8A8A8A", 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%, 54%" 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%, 54%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(57.48, 0.00, -0.01)", "CIELCH(57, 0.007, 296.813)", "YXY(25.4152, 0.3127, 0.3290)" and "CMYK(0.00, 0.00, 0.00, 0.46)".


Advertisment