Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166,...

29
Converting Colors RGB(51, 164, 116)

Transcript of Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166,...

Page 1: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

ConvertingColors

RGB(51, 164, 116)

Page 2: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

Have a look what the booklet forRGB(51, 164, 116) contains.

RGB(51, 164, 116) 3 ................................................... Conversions 4 ....................................................... Details 6 ................................................................ Harmonies 11 ........................................................ Previews 18 ........................................................... Color Blindness Simulation 21 ........................... CSS Examples 24 ..................................................

Page 3: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

Color

RGB(51, 164, 116)

Page 6: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

7-05-2021 6/29 convertingcolors.com

Details

The RGB color 51, 164, 116 is a dark color, andthe websafe version is hex 339966. A complementof this color would be 164, 51, 99, and thegrayscale version is 125, 125, 125.

A 20% lighter version of the original color is 111,220, 168, and 0, 111, 68 is the 20% darker color.If you saturate the color by 10%, you get 35, 164,109, and if you desaturate by 10%, it is 67, 164,123.

Page 7: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

7-05-2021 7/29 convertingcolors.com

Distribution

RGB

Red (20%)

Green (64%)

Blue (45%)

RYB

Red (20%)

Yellow (48%)

Blue (64%)

CMYK

Cyan (69%)

Magenta (0%)

Yellow (29%)

Black (36%)

CMY

Cyan (80%)

Magenta (36%)

Yellow (55%)

Page 8: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

7-05-2021 8/29 convertingcolors.com

Brightness & SaturationGradients

These gradients show how the RGB color 51, 164, 116changes 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 color51, 164, 116 by changing the saturation by 10%instead.

Page 9: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

7-05-2021 9/29 convertingcolors.com

51, 164, 116

82, 192, 142

111, 220, 168

140, 249, 195

169, 255, 223

198, 255, 252

227, 255, 255

255, 255, 255

51, 164, 116

2, 137, 91

0, 111, 68

0, 86, 45

0, 62, 24

0, 40, 0

0, 2, 0

0, 0, 0

51, 164, 116

35, 164, 109

18, 164, 102

2, 164, 95

0, 164, 94

51, 164, 116

67, 164, 123

84, 164, 130

100, 164, 137

117, 164, 144

133, 164, 151

149, 164, 158

166, 164, 165

Page 11: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

7-05-2021 11/29 convertingcolors.com

Harmonies

AnalogousThe analogous color harmony consists of three colorsthat are next to each other on the color wheel.

113, 158, 81

51, 164, 116

0, 166, 158

Page 12: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

7-05-2021 12/29 convertingcolors.com

TriadThe triadic color harmony groups three colors that areevenly spaced from another and form a triangle on thecolor wheel.

51, 164, 116

100, 145, 225

215, 119, 96

Page 13: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

7-05-2021 13/29 convertingcolors.com

ComplementaryThe complementary color scheme is a pair of colorswhich are on the opposite of each other on the colorwheel.

51, 164, 116

164, 51, 99

Page 14: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

7-05-2021 14/29 convertingcolors.com

Split ComplementarySplit-complementary colors differ from thecomplementary color scheme. The scheme consists ofthree colors, the original color and two neighbors of thecomplement color.

221, 111, 134

51, 164, 116

166, 130, 208

Page 15: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

7-05-2021 15/29 convertingcolors.com

SquareThe square scheme is like the rectangle color scheme,but the four colors are evenly spaced on the colorwheel.

51, 164, 116

0, 157, 221

206, 116, 174

192, 133, 69

Page 16: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

7-05-2021 16/29 convertingcolors.com

RectangleThe rectangle color scheme consists of four colors thatform a rectangle on the color wheel.

51, 164, 116

0, 165, 184

206, 116, 174

219, 115, 108

Page 17: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

7-05-2021 17/29 convertingcolors.com

SweetspotThe sweet spot groups the original color and fivecomplimentary colors.

51, 164, 116

169, 214, 195

100, 164, 51

80, 107, 96

235, 235, 235

107, 107, 107

Page 18: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

7-05-2021 18/29 convertingcolors.com

Previews

White Background

This preview shows how the RGB color 51, 164, 116looks on a white background.

Color Contrast Check

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

Page 19: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

7-05-2021 19/29 convertingcolors.com

Black Background

This preview shows how the RGB color 51, 164, 116looks 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 ✕ Fail

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

Page 20: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

7-05-2021 20/29 convertingcolors.com

RGB 51, 164, 116 Background

This preview shows how black text looks on abackground with the RGB color 51, 164, 116.

This preview shows how white text looks on abackground with the RGB color 51, 164, 116.

Page 21: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

7-05-2021 21/29 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 Color51, 164, 116

Protanopia155, 144, 107

Deuteranopia166, 139, 122

Page 22: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

7-05-2021 22/29 convertingcolors.com

Tritanopia73, 157, 170

Page 23: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

7-05-2021 23/29 convertingcolors.com

Trichromacy

Original Color51, 164, 116

Protanomaly117, 151, 110

Deuteranomaly124, 148, 120

Tritanomaly65, 160, 150

Monochromacy

Original Color51, 164, 116

Achromatopsia125, 125, 125

Achromatomaly98, 139, 122

Page 24: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

7-05-2021 24/29 convertingcolors.com

CSS Examples

Text

The CSS property to change the color of the text to RGB51, 164, 116 is called "color". The color property can beset on classes, ids or directly on the HTML element.

This example shows how text in the color rgb(51, 164,116) looks like.

.text, #text, p{ color:rgb(51, 164, 116)}

Page 25: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

7-05-2021 25/29 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(51, 164,Here you see how black text with a 4 pixel rgb(51, 164,

116) colored shadow looks like.116) colored shadow looks like.

.shadow{ text-shadow: 4px 4px 2px rgb(51,164, 116) }

Border

The CSS property to change the border of an element toRGB 51, 164, 116 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(51, 164, 116) }

Page 26: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

7-05-2021 26/29 convertingcolors.com

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

.border{ border-color:rgb(51, 164, 116) }

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

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

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

Page 27: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

7-05-2021 27/29 convertingcolors.com

Background

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

.background, #background, body{background:rgb(51, 164, 116) }

If only the background color should be changed can beused:

.background{ background-color:rgb(51, 164,116) }

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.

Page 28: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

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!

Page 29: Converting Colors - RGB(51, 164, 116)100, 164, 137 117, 164, 144 133, 164, 151 149, 164, 158 166, 164, 165 2-12-2020 10/29 convertingcolors.com 182, 164, 172 199, 164, 179 2-12-2020

Follow meon Twitter!

@ConvertingColor