COLOR #304821

HEX: #304821 RGB: (48,72,33)

Color info

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

RGB color model

#304821 color RGB value is (48,72,33).

RGB: (48,72,33) (19%, 28%, 13%)

RGB channels and saturation

R 48 of 255 = 19%
G 72 of 255 = 28%
B 33 of 255 = 13%

48
72
33

R + G + B ~ 20%. #304821 is dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 72 + 33 = 153 (100%)
R 48 of 153 ~ 31.37%
G 72 of 153 ~ 47.06%
B 33 of 153 ~ 21.57'%

%31.37
%47.06
%21.57

CMYK color model

#304821 color CMYK value is (33,0,54,72).

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

CMYK: (33,0,54,72)
C33M0Y54K72 (33%, 0%, 54%, 72%)
(0.33 / 0.00 / 0.54 / 0.72)

CMYK percentages

%33.33
%0
%54.17
%71.76

Codes

Color #304821 in popluar color models

30 48 21
RGB 48 72 33
HSL 97° 37.14% 20.59%
HSB/HSV 97° 54.17% 28.24%
CMYK 33.33% 0.00% 54.17%
71.76%

Color #304821 in popluar number systems.

HEX 30 48 21
Decimal 48 72 33
Binary 110000 1001000 100001
Octal 60 110 41

Shades and tints

Shades of #304821

#304821
(48,72,33)
#2C421E
(44,66,30)
#283C1B
(40,60,27)
#243618
(36,54,24)
#203015
(32,48,21)
#1C2A12
(28,42,18)
#18240F
(24,36,15)
#141E0C
(20,30,12)
#101809
(16,24,9)
#0C1206
(12,18,6)
#080C03
(8,12,3)
#000000
(0,0,0)

Tints of #304821

#304821
(48,72,33)
#425835
(66,88,53)
#546849
(84,104,73)
#66785D
(102,120,93)
#788871
(120,136,113)
#8A9885
(138,152,133)
#9CA899
(156,168,153)
#AEB8AD
(174,184,173)
#C0C8C1
(192,200,193)
#D2D8D5
(210,216,213)
#E4E8E9
(228,232,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304821; }

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

This text font color is #304821.

Background Color

.myBgColor { background-color: #304821; }

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

This div background color is #304821.

Border color

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

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

This div border color is #304821.

Opacity

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

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

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

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

This text has shadow with #304821 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304821.

Preview

Color preview on black background

This text has color #304821 on black background.


Color preview on white background

This text has color #304821 on white background.


Black color preview on #304821 background

This text has black color on #304821 background.


White color preview on #304821 background

This text has white color on #304821 background.


Related colors

Complementary color

Complementary color for #hex is #CFB7DE.


I love getcolorcode.com

Triadic colors

1 #213048 and #482130 with #304821 are triadic colors.

2 #214830 and #483021 with #304821 are triadic colors.