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
Hex545454
RGB84, 84, 84
RGB Percent33%, 33%, 33%
CMY0.6706, 0.6706, 0.6706
CMYK0.00, 0.00, 0.00, 0.67
HSL0°, 0%, 33%
HSV0°, 0%, 33%
XYZ8.4267, 8.8656, 9.6546
Conversions Part 2
FormatColor
RYB84, 84, 84
Decimal5526612
CIELab35.72, 0.00, -0.00
CIELCh36, 0.005, 296.813
Yxy8.8656, 0.3127, 0.3290
Android (android.graphics.Color)4283716692 (0xFF545454)
YUV84.0000, 0.0000, 0.0000

Details

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

A 20% lighter version of the original color is 858585, and 272727 is the 20% darker color. If you saturate the color by 10%, you get 544C4C, and if you desaturate by 10%, it is 545C5C.

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 Hex color 545454 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 545454 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%.545454The Color 545454.FFFFFFThe Color FFFFFF.F3F3F3The Color F3F3F3.D6D6D6The Color D6D6D6.BBBBBBThe Color BBBBBB.A0A0A0The Color A0A0A0.858585The Color 858585.6C6C6CThe Color 6C6C6C.545454The Color 545454.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]545454The Color 545454.000000The Color 000000.131313The Color 131313.272727The Color 272727.3D3D3DThe Color 3D3D3D.545454The Color 545454.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.545454The Color 545454.540808The Color 540808.541111The Color 541111.541919The Color 541919.542222The Color 542222.542A2AThe Color 542A2A.543232The Color 543232.543B3BThe Color 543B3B.544343The Color 544343.544C4CThe Color 544C4C.545454The Color 545454.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]545454The Color 545454.54A0A0The Color 54A0A0.549797The Color 549797.548F8FThe Color 548F8F.548686The Color 548686.547E7EThe Color 547E7E.547676The Color 547676.546D6DThe Color 546D6D.546565The Color 546565.545C5CThe Color 545C5C.545454The Color 545454.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.545454The Color 545454.B8B8B8The Color B8B8B8.383838The Color 383838.6E6E6EThe Color 6E6E6E.545454The Color 545454.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#545454
Advertisment

Previews

White Background

 

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

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

The color contrast ratio for these colors is 2.77, 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 545454 Background

 

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

 

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

Color Blindness Simulation


Dichromacy

Original Color
545454
Protanopia
555454
Deuteranopia
5C5155
Tritanopia
55535A

Trichromacy

Original Color
545454
Protanomaly
555454
Deuteranomaly
595255
Tritanomaly
555358

Monochromacy

Original Color
545454
Achromatopsia
545454
Achromatomaly
545454
Advertisment

CSS Examples


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

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

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

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

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

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

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

Background

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

If only the background color should be changed .background{ background-color:#545454 } 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, "545454", 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%, 33%" 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%, 33%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(35.72, 0.00, -0.00)", "CIELCH(36, 0.005, 296.813)", "YXY(8.8656, 0.3127, 0.3290)" and "CMYK(0.00, 0.00, 0.00, 0.67)".


Advertisment