Converting Colors - RGB(226, 226, 226) · 2021. 8. 9. · 9-08-2021 6/24 convertingcolors.com...

Post on 14-Aug-2021

9 views 0 download

transcript

ConvertingColors

RGB(226, 226, 226)

Have a look what the booklet forRGB(226, 226, 226) contains.

RGB(226, 226, 226) 3 ................................................. Conversions 4 ....................................................... Details 6 ................................................................ Harmonies 11 ........................................................ Previews 13 ........................................................... Color Blindness Simulation 16 ........................... CSS Examples 19 ..................................................

Color

RGB(226, 226, 226)

6-09-2021 6/24 convertingcolors.com

Details

The RGB color 226, 226, 226 is a light color, andthe websafe version is hex CCCCCC. Acomplement of this color would be 226, 226, 226,and the grayscale version is 226, 226, 226.

A 20% lighter version of the original color is 255,255, 255, and 171, 171, 171 is the 20% darkercolor. If you saturate the color by 10%, you get226, 203, 203, and if you desaturate by 10%, it is226, 249, 249.

6-09-2021 7/24 convertingcolors.com

Distribution

RGB

Red (89%)

Green (89%)

Blue (89%)

RYB

Red (89%)

Yellow (89%)

Blue (89%)

CMYK

Cyan (0%)

Magenta (0%)

Yellow (0%)

Black (11%)

CMY

Cyan (11%)

Magenta (11%)

Yellow (11%)

6-09-2021 8/24 convertingcolors.com

Brightness & SaturationGradients

These gradients show how the RGB color 226, 226, 226changes by changing the brightness by 10 percent. Thefirst figure shows a shift by +10% for each color and thesecond figure -10%.

Similar to the brightness gradients but the followingsaturation gradients show a change of the RGB color226, 226, 226 by changing the saturation by 10%instead.

6-09-2021 9/24 convertingcolors.com

226, 226, 226

255, 255, 255

255, 255, 255

226, 226, 226

198, 198, 198

171, 171, 171

144, 144, 144

119, 119, 119

94, 94, 94

70, 70, 70

48, 48, 48

27, 27, 27

0, 0, 0

226, 226, 226

226, 203, 203

226, 181, 181

226, 158, 158

226, 136, 136

226, 113, 113

226, 226, 226

226, 249, 249

226, 255, 255

6-09-2021 11/24 convertingcolors.com

Harmonies

6-09-2021 12/24 convertingcolors.com

SweetspotThe sweet spot groups the original color and fivecomplimentary colors.

226, 226, 226

255, 255, 255

128, 128, 128

0, 0, 0

6-09-2021 13/24 convertingcolors.com

Previews

White Background

This preview shows how the RGB color 226, 226, 226looks on a white background.

Color Contrast Check

Large Text (above 18pt) WCAG AA ✕ FailAny Text WCAG AA ✕ FailLarge Text (above 18pt) WCAG AAA ✕ FailAny Text WCAG AAA ✕ Fail

6-09-2021 14/24 convertingcolors.com

Black Background

This preview shows how the RGB color 226, 226, 226looks on a black background.

Color Contrast Check

Large Text (above 18pt) WCAG AA ✓ PassAny Text WCAG AA ✓ PassLarge Text (above 18pt) WCAG AAA ✓ PassAny Text WCAG AAA ✓ Pass

If you want to check with other color combinations, trythe Color Contrast Checker.

6-09-2021 15/24 convertingcolors.com

RGB 226, 226, 226 Background

This preview shows how black text looks on abackground with the RGB color 226, 226, 226.

This preview shows how white text looks on abackground with the RGB color 226, 226, 226.

6-09-2021 16/24 convertingcolors.com

Color BlindnessSimulation

Color vision deficiency is a very complex topic, and Icould not describe the different causes any better thanWikipedia does, so if you want to learn more, youshould check out their article about color blindness.

Dichromacy

Original Color226, 226, 226

Protanopia230, 225, 225

Deuteranopia247, 219, 227

6-09-2021 17/24 convertingcolors.com

Tritanopia228, 224, 241

6-09-2021 18/24 convertingcolors.com

Trichromacy

Original Color226, 226, 226

Protanomaly229, 225, 225

Deuteranomaly239, 222, 227

Tritanomaly227, 225, 236

Monochromacy

Original Color226, 226, 226

Achromatopsia226, 226, 226

Achromatomaly226, 226, 226

6-09-2021 19/24 convertingcolors.com

CSS Examples

Text

The CSS property to change the color of the text to RGB226, 226, 226 is called "color". The color property canbe set on classes, ids or directly on the HTML element.

This example shows how text in the color rgb(226, 226,226) looks like.

.text, #text, p{ color:rgb(226, 226, 226)}

6-09-2021 20/24 convertingcolors.com

If you want to add a text shadow in that color use thetext-shadow property, you can generate a text shadowdirectly with our CSS Text Shadow Generator.

Here you see how black text with a 4 pixel rgb(226,Here you see how black text with a 4 pixel rgb(226,

226, 226) colored shadow looks like.226, 226) colored shadow looks like.

.shadow{ text-shadow: 4px 4px 2px rgb(226,226, 226) }

Border

The CSS property to change the border of an element toRGB 226, 226, 226 is called "border". The borderproperty can be set on classes, ids or directly on theHTML element.

This example shows the color as border, it can beapplied via the CSS property "border" or "border-color".

.border, #border, table{ border:4px solidrgb(226, 226, 226) }

6-09-2021 21/24 convertingcolors.com

If only the border color should be changed use theproperty border-color.

.border{ border-color:rgb(226, 226, 226) }

If you want to add a box shadow in that color use:

Here you see how a box with a 4 pixel rgb(226, 226,226) colored shadow looks like.

.boxshadow{ -moz-box-shadow:4px 4px 4px4px rgb(226, 226, 226); -webkit-box-shadow:4px 4px 4px 4px rgb(226, 226, 226);box-shadow:4px 4px 4px 4px rgb(226, 226,226) }

6-09-2021 22/24 convertingcolors.com

Background

The CSS property to change the background color of anelement to RGB 226, 226, 226 is called "background".The background property can be set on classes, ids ordirectly on the HTML element.

.background, #background, body{background:rgb(226, 226, 226) }

If only the background color should be changed can beused:

.background{ background-color:rgb(226,226, 226) }

This example shows the color as background, it isapplied via the CSS property "background".

To optimize and compress your CSS code, you can useour online CSS compressor and optimizer based oncsstidy. If you want to create a linear or radial gradientas background or border, check our CSS GradientGenerator.

Hey! You found this bookletinteresting? Have a look at my otherbooklet HOWCOLORS.WORK – A CSScolor notation guide.

HOWCOLORS.WORKA CSS color notation guide.Are you new to web developmentand want to know the differentways to express colors in CSS?Then this booklet is for you!

HOWCOLORS.WORK will helpyou understand the syntax ofthe color notations in CSS.You will learn all the current andnew ways to express colors toprepare yourself for the future!

Buy now, starting at $4.99!

Follow meon Twitter!

@ConvertingColor