COLOR #304730

HEX: #304730
RGB: (48,71,48)

Color info

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

RGB color model

#304730 color RGB value is (48,71,48).

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

RGB channels and saturation

R 48 of 255 = 19%
G 71 of 255 = 28%
B 48 of 255 = 19%

48
71
48

R + G + B ~ 22%. #304730 is dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 71 + 48 = 167 (100%)
R 48 of 167 ~ 28.74%
G 71 of 167 ~ 42.51%
B 48 of 167 ~ 28.74%

%28.74
%42.51
%28.74

CMYK color model

#304730 color CMYK value is (32,0,32,72).

  • cyan value is 32.39%
  • magenta value is 0.00%
  • yellow value is 32.39%
  • key color value is 72.16%
CMYK:
(32,0,32,72)
C32M0Y32K72 
(32%,0%,32%,72%)
(0.32/0.00/0.32/0.72)	

CMYK percentages

%32.39
%0
%32.39
%72.16

Codes

Color #304730 in popluar color models

304730
RGB487148
HSL120°19.33%23.33%
HSB/HSV120°32.39%27.84%
CMYK32.39%0.00%32.39%
72.16%

Color #304730 in popluar number systems.

HEX304730
Decimal487148
Binary1100001000111110000
Octal6010760

Shades and tints

Shades of #304730

#304730
(48,71,48)
#2C412C
(44,65,44)
#283B28
(40,59,40)
#243524
(36,53,36)
#202F20
(32,47,32)
#1C291C
(28,41,28)
#182318
(24,35,24)
#141D14
(20,29,20)
#101710
(16,23,16)
#0C110C
(12,17,12)
#080B08
(8,11,8)
#000000
(0,0,0)

Tints of #304730

#304730
(48,71,48)
#425742
(66,87,66)
#546754
(84,103,84)
#667766
(102,119,102)
#788778
(120,135,120)
#8A978A
(138,151,138)
#9CA79C
(156,167,156)
#AEB7AE
(174,183,174)
#C0C7C0
(192,199,192)
#D2D7D2
(210,215,210)
#E4E7E4
(228,231,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304730; }

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

This text font color is #304730.


Background Color

.myBgColor { background-color: #304730; }

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

This div background color is #304730.


Border color

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

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

This div border color is #304730.


Opacity

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

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

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

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

This text has shadow with #304730 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304730 on black background.


Color preview on white background

This text has color #304730 on white background.



Black color preview on #304730 background

This text has black color on #304730 background.


White color preview on #304730 background

This text has white color on #304730 background.