COLOR #304D08

HEX: #304D08
RGB: (48,77,8)

Color info

#304D08 contains mainly red and green colors. Web safe color of #304D08 is #333300 (or #330).

RGB color model

#304D08 color RGB value is (48,77,8).

  • red value is 48;
  • green value is 77;
  • blue value is 8.
RGB:
(48,77,8)
(19%,30%,3%)

RGB channels and saturation

R 48 of 255 = 19%
G 77 of 255 = 30%
B 8 of 255 = 3%

48
77
8

R + G + B ~ 17%. #304D08 is dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 77 + 8 = 133 (100%)
R 48 of 133 ~ 36.09%
G 77 of 133 ~ 57.89%
B 8 of 133 ~ 6.02%

%36.09
%57.89

CMYK color model

#304D08 color CMYK value is (38,0,90,70).

  • cyan value is 37.66%
  • magenta value is 0.00%
  • yellow value is 89.61%
  • key color value is 69.80%
CMYK:
(38,0,90,70)
C38M0Y90K70 
(38%,0%,90%,70%)
(0.38/0.00/0.90/0.70)	

CMYK percentages

%37.66
%0
%89.61
%69.8

Codes

Color #304D08 in popluar color models

304D08
RGB48778
HSL85°81.18%16.67%
HSB/HSV85°89.61%30.20%
CMYK37.66%0.00%89.61%
69.80%

Color #304D08 in popluar number systems.

HEX304D08
Decimal48778
Binary11000010011011000
Octal6011510

Shades and tints

Shades of #304D08

#304D08
(48,77,8)
#2C4608
(44,70,8)
#283F08
(40,63,8)
#243808
(36,56,8)
#203108
(32,49,8)
#1C2A08
(28,42,8)
#182308
(24,35,8)
#141C08
(20,28,8)
#101508
(16,21,8)
#0C0E08
(12,14,8)
#080708
(8,7,8)
#000000
(0,0,0)

Tints of #304D08

#304D08
(48,77,8)
#425D1E
(66,93,30)
#546D34
(84,109,52)
#667D4A
(102,125,74)
#788D60
(120,141,96)
#8A9D76
(138,157,118)
#9CAD8C
(156,173,140)
#AEBDA2
(174,189,162)
#C0CDB8
(192,205,184)
#D2DDCE
(210,221,206)
#E4EDE4
(228,237,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304D08 color. Also use rgb(48,77,8) instead hex code.

Text Font Color

.myTextColor { color: #304D08; }

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

This text font color is #304D08.


Background Color

.myBgColor { background-color: #304D08; }

<div style="background-color:#304D08">Inner text</div>

This div background color is #304D08.


Border color

.myBorderColor { border: 1px solid #304D08; }

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

This div border color is #304D08.


Opacity

.myOpacity80 { color: #304D08; opacity: 0.8; }

<p style="color:#304D08;opacity:0.8;">80%</p>

Text with #304D08 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 #304D08;}

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

This text has shadow with #304D08 color.

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

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

This text has shadow with #304D08 primary color and red secondary color.


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

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

This text has shadow with #304D08 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304D08 on black background.


Color preview on white background

This text has color #304D08 on white background.



Black color preview on #304D08 background

This text has black color on #304D08 background.


White color preview on #304D08 background

This text has white color on #304D08 background.