COLOR #124212

HEX: #124212
RGB: (18,66,18)

Color info

#124212 contains red, green and blue colors in about the same proportion. Web safe color of #124212 is #003300 (or #030).

RGB color model

#124212 color RGB value is (18,66,18).

  • red value is 18;
  • green value is 66;
  • blue value is 18.
RGB:
(18,66,18)
(7%,26%,7%)

RGB channels and saturation

R 18 of 255 = 7%
G 66 of 255 = 26%
B 18 of 255 = 7%

18
66
18

R + G + B ~ 13%. #124212 is dark color.

Portions of RGB colors in percentages

R + G + B =
18 + 66 + 18 = 102 (100%)
R 18 of 102 ~ 17.65%
G 66 of 102 ~ 64.71%
B 18 of 102 ~ 17.65%

%17.65
%64.71
%17.65

CMYK color model

#124212 color CMYK value is (73,0,73,74).

  • cyan value is 72.73%
  • magenta value is 0.00%
  • yellow value is 72.73%
  • key color value is 74.12%
CMYK:
(73,0,73,74)
C73M0Y73K74 
(73%,0%,73%,74%)
(0.73/0.00/0.73/0.74)	

CMYK percentages

%72.73
%0
%72.73
%74.12

Codes

Color #124212 in popluar color models

124212
RGB186618
HSL120°57.14%16.47%
HSB/HSV120°72.73%25.88%
CMYK72.73%0.00%72.73%
74.12%

Color #124212 in popluar number systems.

HEX124212
Decimal186618
Binary10010100001010010
Octal2210222

Shades and tints

Shades of #124212

#124212
(18,66,18)
#113C11
(17,60,17)
#103610
(16,54,16)
#0F300F
(15,48,15)
#0E2A0E
(14,42,14)
#0D240D
(13,36,13)
#0C1E0C
(12,30,12)
#0B180B
(11,24,11)
#0A120A
(10,18,10)
#090C09
(9,12,9)
#080608
(8,6,8)
#000000
(0,0,0)

Tints of #124212

#124212
(18,66,18)
#275327
(39,83,39)
#3C643C
(60,100,60)
#517551
(81,117,81)
#668666
(102,134,102)
#7B977B
(123,151,123)
#90A890
(144,168,144)
#A5B9A5
(165,185,165)
#BACABA
(186,202,186)
#CFDBCF
(207,219,207)
#E4ECE4
(228,236,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #124212; }

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

This text font color is #124212.


Background Color

.myBgColor { background-color: #124212; }

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

This div background color is #124212.


Border color

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

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

This div border color is #124212.


Opacity

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

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

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

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

This text has shadow with #124212 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #124212 on black background.


Color preview on white background

This text has color #124212 on white background.



Black color preview on #124212 background

This text has black color on #124212 background.


White color preview on #124212 background

This text has white color on #124212 background.