COLOR #304828

HEX: #304828
RGB: (48,72,40)

Color info

#304828 contains red, green and blue colors in about the same proportion. Web safe color of #304828 is #333333 (or #333).

RGB color model

#304828 color RGB value is (48,72,40).

  • red value is 48;
  • green value is 72;
  • blue value is 40.
RGB:
(48,72,40)
(19%,28%,16%)

RGB channels and saturation

R 48 of 255 = 19%
G 72 of 255 = 28%
B 40 of 255 = 16%

48
72
40

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

Portions of RGB colors in percentages

R + G + B =
48 + 72 + 40 = 160 (100%)
R 48 of 160 ~ 30%
G 72 of 160 ~ 45%
B 40 of 160 ~ 25%

%30
%45
%25

CMYK color model

#304828 color CMYK value is (33,0,44,72).

  • cyan value is 33.33%
  • magenta value is 0.00%
  • yellow value is 44.44%
  • key color value is 71.76%
CMYK:
(33,0,44,72)
C33M0Y44K72 
(33%,0%,44%,72%)
(0.33/0.00/0.44/0.72)	

CMYK percentages

%33.33
%0
%44.44
%71.76

Codes

Color #304828 in popluar color models

304828
RGB487240
HSL105°28.57%21.96%
HSB/HSV105°44.44%28.24%
CMYK33.33%0.00%44.44%
71.76%

Color #304828 in popluar number systems.

HEX304828
Decimal487240
Binary1100001001000101000
Octal6011050

Shades and tints

Shades of #304828

#304828
(48,72,40)
#2C4225
(44,66,37)
#283C22
(40,60,34)
#24361F
(36,54,31)
#20301C
(32,48,28)
#1C2A19
(28,42,25)
#182416
(24,36,22)
#141E13
(20,30,19)
#101810
(16,24,16)
#0C120D
(12,18,13)
#080C0A
(8,12,10)
#000000
(0,0,0)

Tints of #304828

#304828
(48,72,40)
#42583B
(66,88,59)
#54684E
(84,104,78)
#667861
(102,120,97)
#788874
(120,136,116)
#8A9887
(138,152,135)
#9CA89A
(156,168,154)
#AEB8AD
(174,184,173)
#C0C8C0
(192,200,192)
#D2D8D3
(210,216,211)
#E4E8E6
(228,232,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304828; }

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

This text font color is #304828.


Background Color

.myBgColor { background-color: #304828; }

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

This div background color is #304828.


Border color

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

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

This div border color is #304828.


Opacity

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

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

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

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

This text has shadow with #304828 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304828 on black background.


Color preview on white background

This text has color #304828 on white background.



Black color preview on #304828 background

This text has black color on #304828 background.


White color preview on #304828 background

This text has white color on #304828 background.