Converting Colors

Conversions · Details · Harmonies · Images · Preview · CSS · Help

Conversions

New: Converting Colors offers a new tool to do mass color conversions.

FormatColor
HSL240°, 3%, 41%
CIELCh43, 4.216, 290.799
Yxy13.1568, 0.3035, 0.3137
Android (android.graphics.Color)4284835180 (0xFF65656C)
YUV101.7980, 3.0576, -0.6998

Get Conversions and Harmonies as JSON or XML via the REST API.


Details

The Hex color 65656C is a dark color, and the websafe version is hex 666666. A complement of this color would be 6C6C65, and the grayscale version is 666666.

A 20% lighter version of the original color is 98989F, and 36363D is the 20% darker color. If you saturate the color by 10%, you get 5A5A6C, and if you desaturate by 10%, it is 70706C.

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 Gradient

These gradients show how the Hex color 65656C changes by changing the brightness by 10 percent. The first figure shows a shift by +10% for each color and the second figure -10%.

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%.65656CThe Color 65656C.FFFFFFThe Color FFFFFF.EAEAF2The Color EAEAF2.CECED6The Color CECED6.B3B3BAThe Color B3B3BA.98989FThe Color 98989F.7E7E85The Color 7E7E85.65656CThe Color 65656C.Brightness Gradient
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%.65656CThe Color 65656C.000000The Color 000000.0A0A12The Color 0A0A12.212127The Color 212127.36363DThe Color 36363D.4D4D54The Color 4D4D54.65656CThe Color 65656C.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the Hex color 65656C by changing the saturation by 10% instead.

Saturation GradientSimilar to the brightness gradients but the following show a change of the {format} color {color} by changing the saturation by 10% instead.65656CThe Color 65656C.04046CThe Color 04046C.0F0F6CThe Color 0F0F6C.19196CThe Color 19196C.24246CThe Color 24246C.2F2F6CThe Color 2F2F6C.3A3A6CThe Color 3A3A6C.45456CThe Color 45456C.4F4F6CThe Color 4F4F6C.5A5A6CThe Color 5A5A6C.65656CThe Color 65656C.Saturation Gradient
Saturation GradientSimilar to the brightness gradients but the following show a change of the {format} color {color} by changing the saturation by 10% instead.65656CThe Color 65656C.C6C66CThe Color C6C66C.BBBB6CThe Color BBBB6C.B1B16CThe Color B1B16C.A6A66CThe Color A6A66C.9B9B6CThe Color 9B9B6C.90906CThe Color 90906C.85856CThe Color 85856C.7B7B6CThe Color 7B7B6C.70706CThe Color 70706C.65656CThe Color 65656C.Saturation Gradient

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.61666CThe Color 61666C.69646AThe Color 69646A.65656CThe Color 65656C.61666CThe Color 61666C.Analogous

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.65656CThe Color 65656C.5F6864The Color 5F6864.6C6460The Color 6C6460.65656CThe Color 65656C.Triad

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.65656CThe Color 65656C.6C6C65The Color 6C6C65.65656CThe Color 65656C.Complementary

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.626761The Color 626761.6A655FThe Color 6A655F.65656CThe Color 65656C.626761The Color 626761.Split Complementary

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.65656CThe Color 65656C.5D6868The Color 5D6868.66665FThe Color 66665F.6D6363The Color 6D6363.65656CThe Color 65656C.Square

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.65656CThe Color 65656C.606763The Color 606763.66665FThe Color 66665F.6B6368The Color 6B6368.65656CThe Color 65656C.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.65656CThe Color 65656C.474747The Color 474747.C7C7C7The Color C7C7C7.464647The Color 464647.656C6CThe Color 656C6C.89898CThe Color 89898C.65656CThe Color 65656C.Sweetspot

SVG Images

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

#65656C

Previews

White Background

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

The color contrast ratio for these colors is 5.78, 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 Hex color 65656C looks on a black background.

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

Hex 65656C Background

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

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


CSS Examples


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

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

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

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

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

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

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

Background

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

If only the background color should be changed .background{ background-color:#65656C } 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.

Upskill your career and get 10% off on a Udacity Nanodegrees ProgramAdvertisment🛈

How-to use Converting Colors

To convert, paste a string in one of these color formats, for example, "65656C", 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 "240°, 6%, 42%" 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(240°, 6%, 42%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(43.00, 1.50, -3.94)", "CIELCH(43, 4.216, 290.799)", "YXY(13.1568, 0.3035, 0.3137)" and "CMYK(0.06, 0.06, 0.00, 0.58)".