COLOR #126216

HEX: #126216
RGB: (18,98,22)

Color info

#126216 contains mainly green color. Web safe color of #126216 is #006600 (or #060).

RGB color model

#126216 color RGB value is (18,98,22).

  • red value is 18;
  • green value is 98;
  • blue value is 22.
RGB:
(18,98,22)
(7%,38%,9%)

RGB channels and saturation

R 18 of 255 = 7%
G 98 of 255 = 38%
B 22 of 255 = 9%

18
98
22

R + G + B ~ 18%. #126216 is dark color.

Portions of RGB colors in percentages

R + G + B =
18 + 98 + 22 = 138 (100%)
R 18 of 138 ~ 13.04%
G 98 of 138 ~ 71.01%
B 22 of 138 ~ 15.94%

%13.04
%71.01
%15.94

CMYK color model

#126216 color CMYK value is (82,0,78,62).

  • cyan value is 81.63%
  • magenta value is 0.00%
  • yellow value is 77.55%
  • key color value is 61.57%
CMYK:
(82,0,78,62)
C82M0Y78K62 
(82%,0%,78%,62%)
(0.82/0.00/0.78/0.62)	

CMYK percentages

%81.63
%0
%77.55
%61.57

Codes

Color #126216 in popluar color models

126216
RGB189822
HSL123°68.97%22.75%
HSB/HSV123°81.63%38.43%
CMYK81.63%0.00%77.55%
61.57%

Color #126216 in popluar number systems.

HEX126216
Decimal189822
Binary10010110001010110
Octal2214226

Shades and tints

Shades of #126216

#126216
(18,98,22)
#115A14
(17,90,20)
#105212
(16,82,18)
#0F4A10
(15,74,16)
#0E420E
(14,66,14)
#0D3A0C
(13,58,12)
#0C320A
(12,50,10)
#0B2A08
(11,42,8)
#0A2206
(10,34,6)
#091A04
(9,26,4)
#081202
(8,18,2)
#000000
(0,0,0)

Tints of #126216

#126216
(18,98,22)
#27702B
(39,112,43)
#3C7E40
(60,126,64)
#518C55
(81,140,85)
#669A6A
(102,154,106)
#7BA87F
(123,168,127)
#90B694
(144,182,148)
#A5C4A9
(165,196,169)
#BAD2BE
(186,210,190)
#CFE0D3
(207,224,211)
#E4EEE8
(228,238,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #126216 color. Also use rgb(18,98,22) instead hex code.

Text Font Color

.myTextColor { color: #126216; }

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

This text font color is #126216.


Background Color

.myBgColor { background-color: #126216; }

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

This div background color is #126216.


Border color

.myBorderColor { border: 1px solid #126216; }

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

This div border color is #126216.


Opacity

.myOpacity80 { color: #126216; opacity: 0.8; }

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

Text with #126216 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 #126216;}

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

This text has shadow with #126216 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #126216 on black background.


Color preview on white background

This text has color #126216 on white background.



Black color preview on #126216 background

This text has black color on #126216 background.


White color preview on #126216 background

This text has white color on #126216 background.