COLOR #166C42

HEX: #166C42
RGB: (22,108,66)

Color info

#166C42 contains mainly green and blue colors. Web safe color of #166C42 is #006633 (or #063).

RGB color model

#166C42 color RGB value is (22,108,66).

  • red value is 22;
  • green value is 108;
  • blue value is 66.
RGB:
(22,108,66)
(9%,42%,26%)

RGB channels and saturation

R 22 of 255 = 9%
G 108 of 255 = 42%
B 66 of 255 = 26%

22
108
66

R + G + B ~ 26%. #166C42 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
22 + 108 + 66 = 196 (100%)
R 22 of 196 ~ 11.22%
G 108 of 196 ~ 55.1%
B 66 of 196 ~ 33.67%

%11.22
%55.1
%33.67

CMYK color model

#166C42 color CMYK value is (80,0,39,58).

  • cyan value is 79.63%
  • magenta value is 0.00%
  • yellow value is 38.89%
  • key color value is 57.65%
CMYK:
(80,0,39,58)
C80M0Y39K58 
(80%,0%,39%,58%)
(0.80/0.00/0.39/0.58)	

CMYK percentages

%79.63
%0
%38.89
%57.65

Codes

Color #166C42 in popluar color models

166C42
RGB2210866
HSL151°66.15%25.49%
HSB/HSV151°79.63%42.35%
CMYK79.63%0.00%38.89%
57.65%

Color #166C42 in popluar number systems.

HEX166C42
Decimal2210866
Binary1011011011001000010
Octal26154102

Shades and tints

Shades of #166C42

#166C42
(22,108,66)
#14633C
(20,99,60)
#125A36
(18,90,54)
#105130
(16,81,48)
#0E482A
(14,72,42)
#0C3F24
(12,63,36)
#0A361E
(10,54,30)
#082D18
(8,45,24)
#062412
(6,36,18)
#041B0C
(4,27,12)
#021206
(2,18,6)
#000000
(0,0,0)

Tints of #166C42

#166C42
(22,108,66)
#2B7953
(43,121,83)
#408664
(64,134,100)
#559375
(85,147,117)
#6AA086
(106,160,134)
#7FAD97
(127,173,151)
#94BAA8
(148,186,168)
#A9C7B9
(169,199,185)
#BED4CA
(190,212,202)
#D3E1DB
(211,225,219)
#E8EEEC
(232,238,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #166C42 color. Also use rgb(22,108,66) instead hex code.

Text Font Color

.myTextColor { color: #166C42; }

<p style="color:#166C42">This sample text font color is #166C42.</p>

This text font color is #166C42.


Background Color

.myBgColor { background-color: #166C42; }

<div style="background-color:#166C42">Inner text</div>

This div background color is #166C42.


Border color

.myBorderColor { border: 1px solid #166C42; }

<div style="border:3px solid #166C42">Div</div>

This div border color is #166C42.


Opacity

.myOpacity80 { color: #166C42; opacity: 0.8; }

<p style="color:#166C42;opacity:0.8;">80%</p>

Text with #166C42 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #166C42;}

<p style="text-shadow: 3px 3px 1px #166C42">Text here.</p>

This text has shadow with #166C42 color.

.textShadow {text-shadow: 3px 3px 1px #166C42, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #166C42, 5px 5px 20px red">Text here.</p>

This text has shadow with #166C42 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#166C42, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#166C42, Direction=45, Strength=4)">Text</p>

This text has shadow with #166C42 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #166C42;
  -webkit-box-shadow:	1px 1px 3px 2px #166C42;
  box-shadow:		1px 1px 3px 2px #166C42;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #166C42;
-webkit-box-shadow: 1px 1px 3px 2px #166C42;
box-shadow:1px 1px 3px 2px #166C42;">
Div content here</div>
This div box has shadow with color #166C42.

Preview

Color preview on black background

This text has color #166C42 on black background.


Color preview on white background

This text has color #166C42 on white background.



Black color preview on #166C42 background

This text has black color on #166C42 background.


White color preview on #166C42 background

This text has white color on #166C42 background.