COLOR #3A7C12

HEX: #3A7C12
RGB: (58,124,18)

Color info

#3A7C12 contains mainly green color. Web safe color of #3A7C12 is #336600 (or #360).

RGB color model

#3A7C12 color RGB value is (58,124,18).

  • red value is 58;
  • green value is 124;
  • blue value is 18.
RGB:
(58,124,18)
(23%,49%,7%)

RGB channels and saturation

R 58 of 255 = 23%
G 124 of 255 = 49%
B 18 of 255 = 7%

58
124
18

R + G + B ~ 26%. #3A7C12 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
58 + 124 + 18 = 200 (100%)
R 58 of 200 ~ 29%
G 124 of 200 ~ 62%
B 18 of 200 ~ 9%

%29
%62

CMYK color model

#3A7C12 color CMYK value is (53,0,85,51).

  • cyan value is 53.23%
  • magenta value is 0.00%
  • yellow value is 85.48%
  • key color value is 51.37%
CMYK:
(53,0,85,51)
C53M0Y85K51 
(53%,0%,85%,51%)
(0.53/0.00/0.85/0.51)	

CMYK percentages

%53.23
%0
%85.48
%51.37

Codes

Color #3A7C12 in popluar color models

3A7C12
RGB5812418
HSL97°74.65%27.84%
HSB/HSV97°85.48%48.63%
CMYK53.23%0.00%85.48%
51.37%

Color #3A7C12 in popluar number systems.

HEX3A7C12
Decimal5812418
Binary111010111110010010
Octal7217422

Shades and tints

Shades of #3A7C12

#3A7C12
(58,124,18)
#357111
(53,113,17)
#306610
(48,102,16)
#2B5B0F
(43,91,15)
#26500E
(38,80,14)
#21450D
(33,69,13)
#1C3A0C
(28,58,12)
#172F0B
(23,47,11)
#12240A
(18,36,10)
#0D1909
(13,25,9)
#080E08
(8,14,8)
#000000
(0,0,0)

Tints of #3A7C12

#3A7C12
(58,124,18)
#4B8727
(75,135,39)
#5C923C
(92,146,60)
#6D9D51
(109,157,81)
#7EA866
(126,168,102)
#8FB37B
(143,179,123)
#A0BE90
(160,190,144)
#B1C9A5
(177,201,165)
#C2D4BA
(194,212,186)
#D3DFCF
(211,223,207)
#E4EAE4
(228,234,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #3A7C12; }

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

This text font color is #3A7C12.


Background Color

.myBgColor { background-color: #3A7C12; }

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

This div background color is #3A7C12.


Border color

.myBorderColor { border: 1px solid #3A7C12; }

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

This div border color is #3A7C12.


Opacity

.myOpacity80 { color: #3A7C12; opacity: 0.8; }

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

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

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

This text has shadow with #3A7C12 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #3A7C12 on black background.


Color preview on white background

This text has color #3A7C12 on white background.



Black color preview on #3A7C12 background

This text has black color on #3A7C12 background.


White color preview on #3A7C12 background

This text has white color on #3A7C12 background.