COLOR #4C8F18

HEX: #4C8F18
RGB: (76,143,24)

Color info

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

RGB color model

#4C8F18 color RGB value is (76,143,24).

  • red value is 76;
  • green value is 143;
  • blue value is 24.
RGB:
(76,143,24)
(30%,56%,9%)

RGB channels and saturation

R 76 of 255 = 30%
G 143 of 255 = 56%
B 24 of 255 = 9%

76
143
24

R + G + B ~ 32%. #4C8F18 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
76 + 143 + 24 = 243 (100%)
R 76 of 243 ~ 31.28%
G 143 of 243 ~ 58.85%
B 24 of 243 ~ 9.88%

%31.28
%58.85
%9.88

CMYK color model

#4C8F18 color CMYK value is (47,0,83,44).

  • cyan value is 46.85%
  • magenta value is 0.00%
  • yellow value is 83.22%
  • key color value is 43.92%
CMYK:
(47,0,83,44)
C47M0Y83K44 
(47%,0%,83%,44%)
(0.47/0.00/0.83/0.44)	

CMYK percentages

%46.85
%0
%83.22
%43.92

Codes

Color #4C8F18 in popluar color models

4C8F18
RGB7614324
HSL94°71.26%32.75%
HSB/HSV94°83.22%56.08%
CMYK46.85%0.00%83.22%
43.92%

Color #4C8F18 in popluar number systems.

HEX4C8F18
Decimal7614324
Binary10011001000111111000
Octal11421730

Shades and tints

Shades of #4C8F18

#4C8F18
(76,143,24)
#468216
(70,130,22)
#407514
(64,117,20)
#3A6812
(58,104,18)
#345B10
(52,91,16)
#2E4E0E
(46,78,14)
#28410C
(40,65,12)
#22340A
(34,52,10)
#1C2708
(28,39,8)
#161A06
(22,26,6)
#100D04
(16,13,4)
#000000
(0,0,0)

Tints of #4C8F18

#4C8F18
(76,143,24)
#5C992D
(92,153,45)
#6CA342
(108,163,66)
#7CAD57
(124,173,87)
#8CB76C
(140,183,108)
#9CC181
(156,193,129)
#ACCB96
(172,203,150)
#BCD5AB
(188,213,171)
#CCDFC0
(204,223,192)
#DCE9D5
(220,233,213)
#ECF3EA
(236,243,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4C8F18 color. Also use rgb(76,143,24) instead hex code.

Text Font Color

.myTextColor { color: #4C8F18; }

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

This text font color is #4C8F18.


Background Color

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

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

This div background color is #4C8F18.


Border color

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

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

This div border color is #4C8F18.


Opacity

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

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

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

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

This text has shadow with #4C8F18 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4C8F18 on black background.


Color preview on white background

This text has color #4C8F18 on white background.



Black color preview on #4C8F18 background

This text has black color on #4C8F18 background.


White color preview on #4C8F18 background

This text has white color on #4C8F18 background.