COLOR #4C8A12

HEX: #4C8A12 RGB: (76,138,18)

Color info

#4C8A12 contains mainly green color. Web safe color of #4C8A12 is #339900 (or #390).

RGB color model

#4C8A12 color RGB value is (76,138,18).

RGB: (76,138,18) (30%, 54%, 7%)

RGB channels and saturation

R 76 of 255 = 30%
G 138 of 255 = 54%
B 18 of 255 = 7%

76
138
18

R + G + B ~ 30%. #4C8A12 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 76 + 138 + 18 = 232 (100%)
R 76 of 232 ~ 32.76%
G 138 of 232 ~ 59.48%
B 18 of 232 ~ 7.76'%

%32.76
%59.48

CMYK color model

#4C8A12 color CMYK value is (45,0,87,46).

  • cyan value is 44.93%
  • magenta value is 0.00%
  • yellow value is 86.96%
  • key color value is 45.88%

CMYK: (45,0,87,46)
C45M0Y87K46 (45%, 0%, 87%, 46%)
(0.45 / 0.00 / 0.87 / 0.46)

CMYK percentages

%44.93
%0
%86.96
%45.88

Codes

Color #4C8A12 in popluar color models

4C 8A 12
RGB 76 138 18
HSL 91° 76.92% 30.59%
HSB/HSV 91° 86.96% 54.12%
CMYK 44.93% 0.00% 86.96%
45.88%

Color #4C8A12 in popluar number systems.

HEX 4C 8A 12
Decimal 76 138 18
Binary 1001100 10001010 10010
Octal 114 212 22

Shades and tints

Shades of #4C8A12

#4C8A12
(76,138,18)
#467E11
(70,126,17)
#407210
(64,114,16)
#3A660F
(58,102,15)
#345A0E
(52,90,14)
#2E4E0D
(46,78,13)
#28420C
(40,66,12)
#22360B
(34,54,11)
#1C2A0A
(28,42,10)
#161E09
(22,30,9)
#101208
(16,18,8)
#000000
(0,0,0)

Tints of #4C8A12

#4C8A12
(76,138,18)
#5C9427
(92,148,39)
#6C9E3C
(108,158,60)
#7CA851
(124,168,81)
#8CB266
(140,178,102)
#9CBC7B
(156,188,123)
#ACC690
(172,198,144)
#BCD0A5
(188,208,165)
#CCDABA
(204,218,186)
#DCE4CF
(220,228,207)
#ECEEE4
(236,238,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4C8A12 color. Also use rgb(76,138,18) instead hex code.

Text Font Color

.myTextColor { color: #4C8A12; }

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

This text font color is #4C8A12.

Background Color

.myBgColor { background-color: #4C8A12; }

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

This div background color is #4C8A12.

Border color

.myBorderColor { border: 1px solid #4C8A12; }

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

This div border color is #4C8A12.

Opacity

.myOpacity80 { color: #4C8A12; opacity: 0.8; }

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

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

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

This text has shadow with #4C8A12 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #4C8A12.

Preview

Color preview on black background

This text has color #4C8A12 on black background.


Color preview on white background

This text has color #4C8A12 on white background.


Black color preview on #4C8A12 background

This text has black color on #4C8A12 background.


White color preview on #4C8A12 background

This text has white color on #4C8A12 background.


Related colors

Complementary color

Complementary color for #hex is #B375ED.


I love getcolorcode.com

Triadic colors

1 #124C8A and #8A124C with #4C8A12 are triadic colors.

2 #128A4C and #8A4C12 with #4C8A12 are triadic colors.