COLOR #304827

HEX: #304827 RGB: (48,72,39)

Color info

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

RGB color model

#304827 color RGB value is (48,72,39).

RGB: (48,72,39) (19%, 28%, 15%)

RGB channels and saturation

R 48 of 255 = 19%
G 72 of 255 = 28%
B 39 of 255 = 15%

48
72
39

R + G + B ~ 21%. #304827 is dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 72 + 39 = 159 (100%)
R 48 of 159 ~ 30.19%
G 72 of 159 ~ 45.28%
B 39 of 159 ~ 24.53'%

%30.19
%45.28
%24.53

CMYK color model

#304827 color CMYK value is (33,0,46,72).

  • cyan value is 33.33%
  • magenta value is 0.00%
  • yellow value is 45.83%
  • key color value is 71.76%

CMYK: (33,0,46,72)
C33M0Y46K72 (33%, 0%, 46%, 72%)
(0.33 / 0.00 / 0.46 / 0.72)

CMYK percentages

%33.33
%0
%45.83
%71.76

Codes

Color #304827 in popluar color models

30 48 27
RGB 48 72 39
HSL 104° 29.73% 21.76%
HSB/HSV 104° 45.83% 28.24%
CMYK 33.33% 0.00% 45.83%
71.76%

Color #304827 in popluar number systems.

HEX 30 48 27
Decimal 48 72 39
Binary 110000 1001000 100111
Octal 60 110 47

Shades and tints

Shades of #304827

#304827
(48,72,39)
#2C4224
(44,66,36)
#283C21
(40,60,33)
#24361E
(36,54,30)
#20301B
(32,48,27)
#1C2A18
(28,42,24)
#182415
(24,36,21)
#141E12
(20,30,18)
#10180F
(16,24,15)
#0C120C
(12,18,12)
#080C09
(8,12,9)
#000000
(0,0,0)

Tints of #304827

#304827
(48,72,39)
#42583A
(66,88,58)
#54684D
(84,104,77)
#667860
(102,120,96)
#788873
(120,136,115)
#8A9886
(138,152,134)
#9CA899
(156,168,153)
#AEB8AC
(174,184,172)
#C0C8BF
(192,200,191)
#D2D8D2
(210,216,210)
#E4E8E5
(228,232,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304827; }

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

This text font color is #304827.

Background Color

.myBgColor { background-color: #304827; }

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

This div background color is #304827.

Border color

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

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

This div border color is #304827.

Opacity

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

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

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

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

This text has shadow with #304827 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304827.

Preview

Color preview on black background

This text has color #304827 on black background.


Color preview on white background

This text has color #304827 on white background.


Black color preview on #304827 background

This text has black color on #304827 background.


White color preview on #304827 background

This text has white color on #304827 background.


Related colors

Complementary color

Complementary color for #hex is #CFB7D8.


I love getcolorcode.com

Triadic colors

1 #273048 and #482730 with #304827 are triadic colors.

2 #274830 and #483027 with #304827 are triadic colors.