COLOR #4C5102

HEX: #4C5102
RGB: (76,81,2)

Color info

#4C5102 contains mainly red and green colors. Web safe color of #4C5102 is #336600 (or #360).

RGB color model

#4C5102 color RGB value is (76,81,2).

  • red value is 76;
  • green value is 81;
  • blue value is 2.
RGB:
(76,81,2)
(30%,32%,1%)

RGB channels and saturation

R 76 of 255 = 30%
G 81 of 255 = 32%
B 2 of 255 = 1%

76
81
2

R + G + B ~ 21%. #4C5102 is dark color.

Portions of RGB colors in percentages

R + G + B =
76 + 81 + 2 = 159 (100%)
R 76 of 159 ~ 47.8%
G 81 of 159 ~ 50.94%
B 2 of 159 ~ 1.26%

%47.8
%50.94

CMYK color model

#4C5102 color CMYK value is (6,0,98,68).

  • cyan value is 6.17%
  • magenta value is 0.00%
  • yellow value is 97.53%
  • key color value is 68.24%
CMYK:
(6,0,98,68)
C6M0Y98K68 
(6%,0%,98%,68%)
(0.06/0.00/0.98/0.68)	

CMYK percentages

%6.17
%0
%97.53
%68.24

Codes

Color #4C5102 in popluar color models

4C5102
RGB76812
HSL64°95.18%16.27%
HSB/HSV64°97.53%31.76%
CMYK6.17%0.00%97.53%
68.24%

Color #4C5102 in popluar number systems.

HEX4C5102
Decimal76812
Binary1001100101000110
Octal1141212

Shades and tints

Shades of #4C5102

#4C5102
(76,81,2)
#464A02
(70,74,2)
#404302
(64,67,2)
#3A3C02
(58,60,2)
#343502
(52,53,2)
#2E2E02
(46,46,2)
#282702
(40,39,2)
#222002
(34,32,2)
#1C1902
(28,25,2)
#161202
(22,18,2)
#100B02
(16,11,2)
#000000
(0,0,0)

Tints of #4C5102

#4C5102
(76,81,2)
#5C6019
(92,96,25)
#6C6F30
(108,111,48)
#7C7E47
(124,126,71)
#8C8D5E
(140,141,94)
#9C9C75
(156,156,117)
#ACAB8C
(172,171,140)
#BCBAA3
(188,186,163)
#CCC9BA
(204,201,186)
#DCD8D1
(220,216,209)
#ECE7E8
(236,231,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4C5102 color. Also use rgb(76,81,2) instead hex code.

Text Font Color

.myTextColor { color: #4C5102; }

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

This text font color is #4C5102.


Background Color

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

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

This div background color is #4C5102.


Border color

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

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

This div border color is #4C5102.


Opacity

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

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

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

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

This text has shadow with #4C5102 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4C5102 on black background.


Color preview on white background

This text has color #4C5102 on white background.



Black color preview on #4C5102 background

This text has black color on #4C5102 background.


White color preview on #4C5102 background

This text has white color on #4C5102 background.