COLOR #304800

HEX: #304800 RGB: (48,72,0)

Color info

#304800 contains only red and green colors. Web safe color of #304800 is #333300 (or #330).

RGB color model

#304800 color RGB value is (48,72,0).

RGB: (48,72,0) (19%, 28%, 0%)

RGB channels and saturation

R 48 of 255 = 19%
G 72 of 255 = 28%
B 0 of 255 = 0%

48
72
0

R + G + B ~ 16%. #304800 is dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 72 + 0 = 120 (100%)
R 48 of 120 ~ 40%
G 72 of 120 ~ 60%
B 0 of 120 ~ 0'%

%40
%60

CMYK color model

#304800 color CMYK value is (33,0,100,72).

  • cyan value is 33.33%
  • magenta value is 0.00%
  • yellow value is 100.00%
  • key color value is 71.76%

CMYK: (33,0,100,72)
C33M0Y100K72 (33%, 0%, 100%, 72%)
(0.33 / 0.00 / 1.00 / 0.72)

CMYK percentages

%33.33
%0
%100
%71.76

Codes

Color #304800 in popluar color models

30 48 00
RGB 48 72 0
HSL 80° 100.00% 14.12%
HSB/HSV 80° 100.00% 28.24%
CMYK 33.33% 0.00% 100.00%
71.76%

Color #304800 in popluar number systems.

HEX 30 48 00
Decimal 48 72 0
Binary 110000 1001000 0
Octal 60 110 0

Shades and tints

Shades of #304800

#304800
(48,72,0)
#2C4200
(44,66,0)
#283C00
(40,60,0)
#243600
(36,54,0)
#203000
(32,48,0)
#1C2A00
(28,42,0)
#182400
(24,36,0)
#141E00
(20,30,0)
#101800
(16,24,0)
#0C1200
(12,18,0)
#080C00
(8,12,0)
#000000
(0,0,0)

Tints of #304800

#304800
(48,72,0)
#425817
(66,88,23)
#54682E
(84,104,46)
#667845
(102,120,69)
#78885C
(120,136,92)
#8A9873
(138,152,115)
#9CA88A
(156,168,138)
#AEB8A1
(174,184,161)
#C0C8B8
(192,200,184)
#D2D8CF
(210,216,207)
#E4E8E6
(228,232,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304800 color. Also use rgb(48,72,0) instead hex code.

Text Font Color

.myTextColor { color: #304800; }

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

This text font color is #304800.

Background Color

.myBgColor { background-color: #304800; }

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

This div background color is #304800.

Border color

.myBorderColor { border: 1px solid #304800; }

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

This div border color is #304800.

Opacity

.myOpacity80 { color: #304800; opacity: 0.8; }

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

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

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

This text has shadow with #304800 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304800.

Preview

Color preview on black background

This text has color #304800 on black background.


Color preview on white background

This text has color #304800 on white background.


Black color preview on #304800 background

This text has black color on #304800 background.


White color preview on #304800 background

This text has white color on #304800 background.


Related colors

Complementary color

Complementary color for #hex is #CFB7FF.


I love getcolorcode.com

Triadic colors

1 #003048 and #480030 with #304800 are triadic colors.

2 #004830 and #483000 with #304800 are triadic colors.