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
Hex646464
RGB100, 100, 100
RGB Percent39%, 39%, 39%
CMY0.6078, 0.6078, 0.6078
CMYK0.00, 0.00, 0.00, 0.61
HSL0°, 0%, 39%
HSV0°, 0%, 39%
XYZ12.1130, 12.7438, 13.8780
Conversions Part 2
FormatColor
RYB100, 100, 100
Decimal6579300
CIELab42.37, 0.00, -0.01
CIELCh42, 0.006, 296.813
Yxy12.7438, 0.3127, 0.3290
Android (android.graphics.Color)4284769380 (0xFF646464)
YUV100.0000, 0.0000, 0.0000

Details

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

A 20% lighter version of the original color is 9934743, and 3487029 is the 20% darker color. If you saturate the color by 10%, you get 6576730, and if you desaturate by 10%, it is 6581870.

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 6579300 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 6579300 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%.6579300The Color 6579300.16777215The Color 16777215.15329769The Color 15329769.13487565The Color 13487565.11645361The Color 11645361.9934743The Color 9934743.8224125The Color 8224125.6579300The Color 6579300.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]6579300The Color 6579300.0The Color 0.592137The Color 592137.2105376The Color 2105376.3487029The Color 3487029.5000268The Color 5000268.6579300The Color 6579300.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.6579300The Color 6579300.6556170The Color 6556170.6558740The Color 6558740.6561310The Color 6561310.6563880The Color 6563880.6566450The Color 6566450.6569020The Color 6569020.6571590The Color 6571590.6574160The Color 6574160.6576730The Color 6576730.6579300The Color 6579300.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]6579300The Color 6579300.6602430The Color 6602430.6599860The Color 6599860.6597290The Color 6597290.6594720The Color 6594720.6592150The Color 6592150.6589580The Color 6589580.6587010The Color 6587010.6584440The Color 6584440.6581870The Color 6581870.6579300The Color 6579300.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.6579300The Color 6579300.12763842The Color 12763842.4342338The Color 4342338.8553090The Color 8553090.6579300The Color 6579300.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#646464
Advertisment

Previews

White Background

 

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

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

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

Decimal 6579300 Background

 

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

 

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

Color Blindness Simulation


Dichromacy

Original Color
6579300
Protanopia
6710116
Deuteranopia
7168357
Tritanopia
6644587

Trichromacy

Original Color
6579300
Protanomaly
6644580
Deuteranomaly
6972005
Tritanomaly
6644584

Monochromacy

Original Color
6579300
Achromatopsia
6579300
Achromatomaly
6579300
Advertisment

CSS Examples


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

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

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

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

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

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

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

Background

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

If only the background color should be changed .background{ background-color:#646464 } 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, "646464", 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%, 39%" 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%, 39%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(42.37, 0.00, -0.01)", "CIELCH(42, 0.006, 296.813)", "YXY(12.7438, 0.3127, 0.3290)" and "CMYK(0.00, 0.00, 0.00, 0.61)".


Advertisment