COLOR #304835

HEX: #304835
RGB: (48,72,53)

Color info

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

RGB color model

#304835 color RGB value is (48,72,53).

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

RGB channels and saturation

R 48 of 255 = 19%
G 72 of 255 = 28%
B 53 of 255 = 21%

48
72
53

R + G + B ~ 23%. #304835 is dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 72 + 53 = 173 (100%)
R 48 of 173 ~ 27.75%
G 72 of 173 ~ 41.62%
B 53 of 173 ~ 30.64%

%27.75
%41.62
%30.64

CMYK color model

#304835 color CMYK value is (33,0,26,72).

  • cyan value is 33.33%
  • magenta value is 0.00%
  • yellow value is 26.39%
  • key color value is 71.76%
CMYK:
(33,0,26,72)
C33M0Y26K72 
(33%,0%,26%,72%)
(0.33/0.00/0.26/0.72)	

CMYK percentages

%33.33
%0
%26.39
%71.76

Codes

Color #304835 in popluar color models

304835
RGB487253
HSL133°20.00%23.53%
HSB/HSV133°33.33%28.24%
CMYK33.33%0.00%26.39%
71.76%

Color #304835 in popluar number systems.

HEX304835
Decimal487253
Binary1100001001000110101
Octal6011065

Shades and tints

Shades of #304835

#304835
(48,72,53)
#2C4231
(44,66,49)
#283C2D
(40,60,45)
#243629
(36,54,41)
#203025
(32,48,37)
#1C2A21
(28,42,33)
#18241D
(24,36,29)
#141E19
(20,30,25)
#101815
(16,24,21)
#0C1211
(12,18,17)
#080C0D
(8,12,13)
#000000
(0,0,0)

Tints of #304835

#304835
(48,72,53)
#425847
(66,88,71)
#546859
(84,104,89)
#66786B
(102,120,107)
#78887D
(120,136,125)
#8A988F
(138,152,143)
#9CA8A1
(156,168,161)
#AEB8B3
(174,184,179)
#C0C8C5
(192,200,197)
#D2D8D7
(210,216,215)
#E4E8E9
(228,232,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304835; }

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

This text font color is #304835.


Background Color

.myBgColor { background-color: #304835; }

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

This div background color is #304835.


Border color

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

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

This div border color is #304835.


Opacity

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

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

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

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

This text has shadow with #304835 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304835 on black background.


Color preview on white background

This text has color #304835 on white background.



Black color preview on #304835 background

This text has black color on #304835 background.


White color preview on #304835 background

This text has white color on #304835 background.