COLOR #124D12

HEX: #124D12
RGB: (18,77,18)

Color info

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

RGB color model

#124D12 color RGB value is (18,77,18).

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

RGB channels and saturation

R 18 of 255 = 7%
G 77 of 255 = 30%
B 18 of 255 = 7%

18
77
18

R + G + B ~ 15%. #124D12 is dark color.

Portions of RGB colors in percentages

R + G + B =
18 + 77 + 18 = 113 (100%)
R 18 of 113 ~ 15.93%
G 77 of 113 ~ 68.14%
B 18 of 113 ~ 15.93%

%15.93
%68.14
%15.93

CMYK color model

#124D12 color CMYK value is (77,0,77,70).

  • cyan value is 76.62%
  • magenta value is 0.00%
  • yellow value is 76.62%
  • key color value is 69.80%
CMYK:
(77,0,77,70)
C77M0Y77K70 
(77%,0%,77%,70%)
(0.77/0.00/0.77/0.70)	

CMYK percentages

%76.62
%0
%76.62
%69.8

Codes

Color #124D12 in popluar color models

124D12
RGB187718
HSL120°62.11%18.63%
HSB/HSV120°76.62%30.20%
CMYK76.62%0.00%76.62%
69.80%

Color #124D12 in popluar number systems.

HEX124D12
Decimal187718
Binary10010100110110010
Octal2211522

Shades and tints

Shades of #124D12

#124D12
(18,77,18)
#114611
(17,70,17)
#103F10
(16,63,16)
#0F380F
(15,56,15)
#0E310E
(14,49,14)
#0D2A0D
(13,42,13)
#0C230C
(12,35,12)
#0B1C0B
(11,28,11)
#0A150A
(10,21,10)
#090E09
(9,14,9)
#080708
(8,7,8)
#000000
(0,0,0)

Tints of #124D12

#124D12
(18,77,18)
#275D27
(39,93,39)
#3C6D3C
(60,109,60)
#517D51
(81,125,81)
#668D66
(102,141,102)
#7B9D7B
(123,157,123)
#90AD90
(144,173,144)
#A5BDA5
(165,189,165)
#BACDBA
(186,205,186)
#CFDDCF
(207,221,207)
#E4EDE4
(228,237,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #124D12; }

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

This text font color is #124D12.


Background Color

.myBgColor { background-color: #124D12; }

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

This div background color is #124D12.


Border color

.myBorderColor { border: 1px solid #124D12; }

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

This div border color is #124D12.


Opacity

.myOpacity80 { color: #124D12; opacity: 0.8; }

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

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

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

This text has shadow with #124D12 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #124D12 on black background.


Color preview on white background

This text has color #124D12 on white background.



Black color preview on #124D12 background

This text has black color on #124D12 background.


White color preview on #124D12 background

This text has white color on #124D12 background.