COLOR #304C2F

HEX: #304C2F
RGB: (48,76,47)

Color info

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

RGB color model

#304C2F color RGB value is (48,76,47).

  • red value is 48;
  • green value is 76;
  • blue value is 47.
RGB:
(48,76,47)
(19%,30%,18%)

RGB channels and saturation

R 48 of 255 = 19%
G 76 of 255 = 30%
B 47 of 255 = 18%

48
76
47

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

Portions of RGB colors in percentages

R + G + B =
48 + 76 + 47 = 171 (100%)
R 48 of 171 ~ 28.07%
G 76 of 171 ~ 44.44%
B 47 of 171 ~ 27.49%

%28.07
%44.44
%27.49

CMYK color model

#304C2F color CMYK value is (37,0,38,70).

  • cyan value is 36.84%
  • magenta value is 0.00%
  • yellow value is 38.16%
  • key color value is 70.20%
CMYK:
(37,0,38,70)
C37M0Y38K70 
(37%,0%,38%,70%)
(0.37/0.00/0.38/0.70)	

CMYK percentages

%36.84
%0
%38.16
%70.2

Codes

Color #304C2F in popluar color models

304C2F
RGB487647
HSL118°23.58%24.12%
HSB/HSV118°38.16%29.80%
CMYK36.84%0.00%38.16%
70.20%

Color #304C2F in popluar number systems.

HEX304C2F
Decimal487647
Binary1100001001100101111
Octal6011457

Shades and tints

Shades of #304C2F

#304C2F
(48,76,47)
#2C462B
(44,70,43)
#284027
(40,64,39)
#243A23
(36,58,35)
#20341F
(32,52,31)
#1C2E1B
(28,46,27)
#182817
(24,40,23)
#142213
(20,34,19)
#101C0F
(16,28,15)
#0C160B
(12,22,11)
#081007
(8,16,7)
#000000
(0,0,0)

Tints of #304C2F

#304C2F
(48,76,47)
#425C41
(66,92,65)
#546C53
(84,108,83)
#667C65
(102,124,101)
#788C77
(120,140,119)
#8A9C89
(138,156,137)
#9CAC9B
(156,172,155)
#AEBCAD
(174,188,173)
#C0CCBF
(192,204,191)
#D2DCD1
(210,220,209)
#E4ECE3
(228,236,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304C2F color. Also use rgb(48,76,47) instead hex code.

Text Font Color

.myTextColor { color: #304C2F; }

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

This text font color is #304C2F.


Background Color

.myBgColor { background-color: #304C2F; }

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

This div background color is #304C2F.


Border color

.myBorderColor { border: 1px solid #304C2F; }

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

This div border color is #304C2F.


Opacity

.myOpacity80 { color: #304C2F; opacity: 0.8; }

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

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

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

This text has shadow with #304C2F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304C2F on black background.


Color preview on white background

This text has color #304C2F on white background.



Black color preview on #304C2F background

This text has black color on #304C2F background.


White color preview on #304C2F background

This text has white color on #304C2F background.