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
Hex333333
RGB51, 51, 51
RGB Percent20%, 20%, 20%
CMY0.8000, 0.8000, 0.8000
CMYK0.00, 0.00, 0.00, 0.80
HSL0°, 0%, 20%
HSV0°, 0%, 20%
XYZ3.1466, 3.3105, 3.6051
Conversions Part 2
FormatColor
RYB51, 51, 51
Decimal3355443
CIELab21.25, 0.00, -0.00
CIELCh21, 0.004, 296.813
Yxy3.3105, 0.3127, 0.3290
Android (android.graphics.Color)4281545523 (0xFF333333)
YUV51.0000, 0.0000, 0.0000

Details

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

A 20% lighter version of the original color is 616161, and 050505 is the 20% darker color. If you saturate the color by 10%, you get 332E2E, and if you desaturate by 10%, it is 333838.

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 333333 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 333333 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%.333333The Color 333333.FFFFFFThe Color FFFFFF.E6E6E6The Color E6E6E6.CACACAThe Color CACACA.AEAEAEThe Color AEAEAE.949494The Color 949494.7A7A7AThe Color 7A7A7A.616161The Color 616161.4A4A4AThe Color 4A4A4A.333333The Color 333333.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]333333The Color 333333.000000The Color 000000.050505The Color 050505.1E1E1EThe Color 1E1E1E.333333The Color 333333.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.333333The Color 333333.330505The Color 330505.330A0AThe Color 330A0A.330F0FThe Color 330F0F.331414The Color 331414.331A1AThe Color 331A1A.331F1FThe Color 331F1F.332424The Color 332424.332929The Color 332929.332E2EThe Color 332E2E.333333The Color 333333.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]333333The Color 333333.336161The Color 336161.335C5CThe Color 335C5C.335757The Color 335757.335252The Color 335252.334D4DThe Color 334D4D.334747The Color 334747.334242The Color 334242.333D3DThe Color 333D3D.333838The Color 333838.333333The Color 333333.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.333333The Color 333333.A1A1A1The Color A1A1A1.212121The Color 212121.424242The Color 424242.333333The Color 333333.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#333333
Advertisment

Previews

White Background

 

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

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

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

 

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

 

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

Color Blindness Simulation


Dichromacy

Original Color
333333
Protanopia
343333
Deuteranopia
383133
Tritanopia
343236

Trichromacy

Original Color
333333
Protanomaly
343333
Deuteranomaly
363233
Tritanomaly
343235

Monochromacy

Original Color
333333
Achromatopsia
333333
Achromatomaly
333333
Advertisment

CSS Examples


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

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

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

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

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

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

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

Background

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

If only the background color should be changed .background{ background-color:#333333 } 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, "333333", 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%, 20%" 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%, 20%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(21.25, 0.00, -0.00)", "CIELCH(21, 0.004, 296.813)", "YXY(3.3105, 0.3127, 0.3290)" and "CMYK(0.00, 0.00, 0.00, 0.80)".


Advertisment