COLOR #304939

HEX: #304939
RGB: (48,73,57)

Color info

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

RGB color model

#304939 color RGB value is (48,73,57).

  • red value is 48;
  • green value is 73;
  • blue value is 57.
RGB:
(48,73,57)
(19%,29%,22%)

RGB channels and saturation

R 48 of 255 = 19%
G 73 of 255 = 29%
B 57 of 255 = 22%

48
73
57

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

Portions of RGB colors in percentages

R + G + B =
48 + 73 + 57 = 178 (100%)
R 48 of 178 ~ 26.97%
G 73 of 178 ~ 41.01%
B 57 of 178 ~ 32.02%

%26.97
%41.01
%32.02

CMYK color model

#304939 color CMYK value is (34,0,22,71).

  • cyan value is 34.25%
  • magenta value is 0.00%
  • yellow value is 21.92%
  • key color value is 71.37%
CMYK:
(34,0,22,71)
C34M0Y22K71 
(34%,0%,22%,71%)
(0.34/0.00/0.22/0.71)	

CMYK percentages

%34.25
%0
%21.92
%71.37

Codes

Color #304939 in popluar color models

304939
RGB487357
HSL142°20.66%23.73%
HSB/HSV142°34.25%28.63%
CMYK34.25%0.00%21.92%
71.37%

Color #304939 in popluar number systems.

HEX304939
Decimal487357
Binary1100001001001111001
Octal6011171

Shades and tints

Shades of #304939

#304939
(48,73,57)
#2C4334
(44,67,52)
#283D2F
(40,61,47)
#24372A
(36,55,42)
#203125
(32,49,37)
#1C2B20
(28,43,32)
#18251B
(24,37,27)
#141F16
(20,31,22)
#101911
(16,25,17)
#0C130C
(12,19,12)
#080D07
(8,13,7)
#000000
(0,0,0)

Tints of #304939

#304939
(48,73,57)
#42594B
(66,89,75)
#54695D
(84,105,93)
#66796F
(102,121,111)
#788981
(120,137,129)
#8A9993
(138,153,147)
#9CA9A5
(156,169,165)
#AEB9B7
(174,185,183)
#C0C9C9
(192,201,201)
#D2D9DB
(210,217,219)
#E4E9ED
(228,233,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304939 color. Also use rgb(48,73,57) instead hex code.

Text Font Color

.myTextColor { color: #304939; }

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

This text font color is #304939.


Background Color

.myBgColor { background-color: #304939; }

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

This div background color is #304939.


Border color

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

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

This div border color is #304939.


Opacity

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

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

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

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

This text has shadow with #304939 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304939 on black background.


Color preview on white background

This text has color #304939 on white background.



Black color preview on #304939 background

This text has black color on #304939 background.


White color preview on #304939 background

This text has white color on #304939 background.