COLOR #12870D

HEX: #12870D
RGB: (18,135,13)

Color info

#12870D contains mainly green color. Web safe color of #12870D is #009900 (or #090).

RGB color model

#12870D color RGB value is (18,135,13).

  • red value is 18;
  • green value is 135;
  • blue value is 13.
RGB:
(18,135,13)
(7%,53%,5%)

RGB channels and saturation

R 18 of 255 = 7%
G 135 of 255 = 53%
B 13 of 255 = 5%

18
135
13

R + G + B ~ 22%. #12870D is dark color.

Portions of RGB colors in percentages

R + G + B =
18 + 135 + 13 = 166 (100%)
R 18 of 166 ~ 10.84%
G 135 of 166 ~ 81.33%
B 13 of 166 ~ 7.83%

%10.84
%81.33

CMYK color model

#12870D color CMYK value is (87,0,90,47).

  • cyan value is 86.67%
  • magenta value is 0.00%
  • yellow value is 90.37%
  • key color value is 47.06%
CMYK:
(87,0,90,47)
C87M0Y90K47 
(87%,0%,90%,47%)
(0.87/0.00/0.90/0.47)	

CMYK percentages

%86.67
%0
%90.37
%47.06

Codes

Color #12870D in popluar color models

12870D
RGB1813513
HSL118°82.43%29.02%
HSB/HSV118°90.37%52.94%
CMYK86.67%0.00%90.37%
47.06%

Color #12870D in popluar number systems.

HEX12870D
Decimal1813513
Binary10010100001111101
Octal2220715

Shades and tints

Shades of #12870D

#12870D
(18,135,13)
#117B0C
(17,123,12)
#106F0B
(16,111,11)
#0F630A
(15,99,10)
#0E5709
(14,87,9)
#0D4B08
(13,75,8)
#0C3F07
(12,63,7)
#0B3306
(11,51,6)
#0A2705
(10,39,5)
#091B04
(9,27,4)
#080F03
(8,15,3)
#000000
(0,0,0)

Tints of #12870D

#12870D
(18,135,13)
#279123
(39,145,35)
#3C9B39
(60,155,57)
#51A54F
(81,165,79)
#66AF65
(102,175,101)
#7BB97B
(123,185,123)
#90C391
(144,195,145)
#A5CDA7
(165,205,167)
#BAD7BD
(186,215,189)
#CFE1D3
(207,225,211)
#E4EBE9
(228,235,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #12870D color. Also use rgb(18,135,13) instead hex code.

Text Font Color

.myTextColor { color: #12870D; }

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

This text font color is #12870D.


Background Color

.myBgColor { background-color: #12870D; }

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

This div background color is #12870D.


Border color

.myBorderColor { border: 1px solid #12870D; }

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

This div border color is #12870D.


Opacity

.myOpacity80 { color: #12870D; opacity: 0.8; }

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

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

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

This text has shadow with #12870D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #12870D on black background.


Color preview on white background

This text has color #12870D on white background.



Black color preview on #12870D background

This text has black color on #12870D background.


White color preview on #12870D background

This text has white color on #12870D background.