COLOR #126221

HEX: #126221 RGB: (18,98,33)

Color info

#126221 contains mainly green color. Web safe color of #126221 is #006633 (or #063).

RGB color model

#126221 color RGB value is (18,98,33).

RGB: (18,98,33) (7%, 38%, 13%)

RGB channels and saturation

R 18 of 255 = 7%
G 98 of 255 = 38%
B 33 of 255 = 13%

18
98
33

R + G + B ~ 19%. #126221 is dark color.

Portions of RGB colors in percentages

R + G + B = 18 + 98 + 33 = 149 (100%)
R 18 of 149 ~ 12.08%
G 98 of 149 ~ 65.77%
B 33 of 149 ~ 22.15'%

%12.08
%65.77
%22.15

CMYK color model

#126221 color CMYK value is (82,0,66,62).

  • cyan value is 81.63%
  • magenta value is 0.00%
  • yellow value is 66.33%
  • key color value is 61.57%
CMYK: (82,0,66,62) C82M0Y66K62 (82%,0%,66%,62%) (0.82/0.00/0.66/0.62) 

CMYK percentages

%81.63
%0
%66.33
%61.57

Codes

Color #126221 in popluar color models

12 62 21
RGB 18 98 33
HSL 131° 68.97% 22.75%
HSB/HSV 131° 81.63% 38.43%
CMYK 81.63% 0.00% 66.33%
61.57%

Color #126221 in popluar number systems.

HEX 12 62 21
Decimal 18 98 33
Binary 10010 1100010 100001
Octal 22 142 41

Shades and tints

Shades of #126221

#126221
(18,98,33)
#115A1E
(17,90,30)
#10521B
(16,82,27)
#0F4A18
(15,74,24)
#0E4215
(14,66,21)
#0D3A12
(13,58,18)
#0C320F
(12,50,15)
#0B2A0C
(11,42,12)
#0A2209
(10,34,9)
#091A06
(9,26,6)
#081203
(8,18,3)
#000000
(0,0,0)

Tints of #126221

#126221
(18,98,33)
#277035
(39,112,53)
#3C7E49
(60,126,73)
#518C5D
(81,140,93)
#669A71
(102,154,113)
#7BA885
(123,168,133)
#90B699
(144,182,153)
#A5C4AD
(165,196,173)
#BAD2C1
(186,210,193)
#CFE0D5
(207,224,213)
#E4EEE9
(228,238,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #126221; }

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

This text font color is #126221.

Background Color

.myBgColor { background-color: #126221; }

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

This div background color is #126221.

Border color

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

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

This div border color is #126221.

Opacity

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

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

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

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

This text has shadow with #126221 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #126221.

Preview

Color preview on black background

This text has color #126221 on black background.


Color preview on white background

This text has color #126221 on white background.


Black color preview on #126221 background

This text has black color on #126221 background.


White color preview on #126221 background

This text has white color on #126221 background.


Related colors

Complementary color

Complementary color for #hex is #ED9DDE.


I love getcolorcode.com

Triadic colors

1 #211262 and #622112 with #126221 are triadic colors.

2 #216212 and #621221 with #126221 are triadic colors.