COLOR #304838

HEX: #304838
RGB: (48,72,56)

Color info

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

RGB color model

#304838 color RGB value is (48,72,56).

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

RGB channels and saturation

R 48 of 255 = 19%
G 72 of 255 = 28%
B 56 of 255 = 22%

48
72
56

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

Portions of RGB colors in percentages

R + G + B =
48 + 72 + 56 = 176 (100%)
R 48 of 176 ~ 27.27%
G 72 of 176 ~ 40.91%
B 56 of 176 ~ 31.82%

%27.27
%40.91
%31.82

CMYK color model

#304838 color CMYK value is (33,0,22,72).

  • cyan value is 33.33%
  • magenta value is 0.00%
  • yellow value is 22.22%
  • key color value is 71.76%
CMYK:
(33,0,22,72)
C33M0Y22K72 
(33%,0%,22%,72%)
(0.33/0.00/0.22/0.72)	

CMYK percentages

%33.33
%0
%22.22
%71.76

Codes

Color #304838 in popluar color models

304838
RGB487256
HSL140°20.00%23.53%
HSB/HSV140°33.33%28.24%
CMYK33.33%0.00%22.22%
71.76%

Color #304838 in popluar number systems.

HEX304838
Decimal487256
Binary1100001001000111000
Octal6011070

Shades and tints

Shades of #304838

#304838
(48,72,56)
#2C4233
(44,66,51)
#283C2E
(40,60,46)
#243629
(36,54,41)
#203024
(32,48,36)
#1C2A1F
(28,42,31)
#18241A
(24,36,26)
#141E15
(20,30,21)
#101810
(16,24,16)
#0C120B
(12,18,11)
#080C06
(8,12,6)
#000000
(0,0,0)

Tints of #304838

#304838
(48,72,56)
#42584A
(66,88,74)
#54685C
(84,104,92)
#66786E
(102,120,110)
#788880
(120,136,128)
#8A9892
(138,152,146)
#9CA8A4
(156,168,164)
#AEB8B6
(174,184,182)
#C0C8C8
(192,200,200)
#D2D8DA
(210,216,218)
#E4E8EC
(228,232,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304838; }

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

This text font color is #304838.


Background Color

.myBgColor { background-color: #304838; }

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

This div background color is #304838.


Border color

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

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

This div border color is #304838.


Opacity

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

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

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

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

This text has shadow with #304838 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304838 on black background.


Color preview on white background

This text has color #304838 on white background.



Black color preview on #304838 background

This text has black color on #304838 background.


White color preview on #304838 background

This text has white color on #304838 background.