converting colors - rgb(120, 170, 17) · the triadic color harmony groups three colors that are...

29
Converting Colors RGB(120, 170, 17)

Upload: others

Post on 13-Aug-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

ConvertingColors

RGB(120, 170, 17)

Page 2: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

Have a look what the booklet forRGB(120, 170, 17) contains.

RGB(120, 170, 17) 3 ................................................... Conversions 4 ....................................................... Details 6 ................................................................ Harmonies 11 ........................................................ Previews 18 ........................................................... Color Blindness Simulation 21 ........................... CSS Examples 24 ..................................................

Page 3: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

Color

RGB(120, 170, 17)

Page 6: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

15-11-2020 6/29 convertingcolors.com

Details

The RGB color 120, 170, 17 is a dark color, andthe websafe version is hex 669900. A complementof this color would be 67, 17, 170, and thegrayscale version is 138, 138, 138.

A 20% lighter version of the original color is 176,226, 81, and 64, 117, 0 is the 20% darker color. Ifyou saturate the color by 10%, you get 114, 170,0, and if you desaturate by 10%, it is 126, 170,34.

Page 7: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

15-11-2020 7/29 convertingcolors.com

Distribution

RGB

Red (47%)

Green (67%)

Blue (7%)

RYB

Red (7%)

Yellow (67%)

Blue (26%)

CMYK

Cyan (29%)

Magenta (0%)

Yellow (90%)

Black (33%)

CMY

Cyan (53%)

Magenta (33%)

Yellow (93%)

Page 8: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

15-11-2020 8/29 convertingcolors.com

Brightness & SaturationGradients

These gradients show how the RGB color 120, 170, 17changes 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 color120, 170, 17 by changing the saturation by 10%instead.

Page 9: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

15-11-2020 9/29 convertingcolors.com

120, 170, 17

148, 197, 53

176, 226, 81

205, 254, 109

235, 255, 137

255, 255, 164

255, 255, 193

255, 255, 222

255, 255, 251

255, 255, 255

120, 170, 17

92, 143, 0

64, 117, 0

36, 92, 0

0, 68, 0

0, 46, 0

0, 22, 0

0, 0, 0

120, 170, 17

114, 170, 0

120, 170, 17

126, 170, 34

131, 170, 51

137, 170, 68

142, 170, 85

148, 170, 102

Page 11: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

15-11-2020 11/29 convertingcolors.com

Harmonies

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

185, 152, 0

120, 170, 17

0, 180, 86

Page 12: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

15-11-2020 12/29 convertingcolors.com

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

120, 170, 17

0, 178, 255

255, 86, 157

Page 13: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

15-11-2020 13/29 convertingcolors.com

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

120, 170, 17

67, 17, 170

Page 14: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

15-11-2020 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.

233, 106, 221

120, 170, 17

0, 163, 255

Page 15: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

15-11-2020 15/29 convertingcolors.com

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

120, 170, 17

0, 184, 219

152, 137, 255

255, 97, 94

Page 16: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

15-11-2020 16/29 convertingcolors.com

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

120, 170, 17

0, 184, 131

152, 137, 255

255, 89, 179

Page 17: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

15-11-2020 17/29 convertingcolors.com

SweetspotThe sweet spot groups the original color and fivecomplimentary colors.

120, 170, 17

202, 222, 162

170, 65, 17

100, 112, 76

240, 240, 240

112, 112, 112

Page 18: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

15-11-2020 18/29 convertingcolors.com

Previews

White Background

This preview shows how the RGB color 120, 170, 17looks 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

Page 19: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

15-11-2020 19/29 convertingcolors.com

Black Background

This preview shows how the RGB color 120, 170, 17looks 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.

Page 20: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

15-11-2020 20/29 convertingcolors.com

RGB 120, 170, 17 Background

This preview shows how black text looks on abackground with the RGB color 120, 170, 17.

This preview shows how white text looks on abackground with the RGB color 120, 170, 17.

Page 21: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

15-11-2020 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 Color120, 170, 17

Protanopia174, 155, 10

Deuteranopia194, 147, 36

Page 22: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

15-11-2020 22/29 convertingcolors.com

Tritanopia136, 158, 171

Page 23: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

15-11-2020 23/29 convertingcolors.com

Trichromacy

Original Color120, 170, 17

Protanomaly154, 160, 13

Deuteranomaly167, 155, 29

Tritanomaly130, 162, 115

Monochromacy

Original Color120, 170, 17

Achromatopsia138, 138, 138

Achromatomaly131, 150, 94

Page 24: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

15-11-2020 24/29 convertingcolors.com

CSS Examples

Text

The CSS property to change the color of the text to RGB120, 170, 17 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(120, 170,17) looks like.

.text, #text, p{ color:rgb(120, 170, 17)}

Page 25: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

15-11-2020 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(120,Here you see how black text with a 4 pixel rgb(120,

170, 17) colored shadow looks like.170, 17) colored shadow looks like.

.shadow{ text-shadow: 4px 4px 2px rgb(120,170, 17) }

Border

The CSS property to change the border of an element toRGB 120, 170, 17 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(120, 170, 17) }

Page 26: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

15-11-2020 26/29 convertingcolors.com

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

.border{ border-color:rgb(120, 170, 17) }

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

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

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

Page 27: Converting Colors - RGB(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

15-11-2020 27/29 convertingcolors.com

Background

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

.background, #background, body{background:rgb(120, 170, 17) }

If only the background color should be changed can beused:

.background{ background-color:rgb(120,170, 17) }

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(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

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(120, 170, 17) · The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel. 120, 170, 17 0,

Follow meon Twitter!

@ConvertingColor