COLOR #304021

HEX: #304021 RGB: (48,64,33)

Color info

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

RGB color model

#304021 color RGB value is (48,64,33).

RGB: (48,64,33) (19%, 25%, 13%)

RGB channels and saturation

R 48 of 255 = 19%
G 64 of 255 = 25%
B 33 of 255 = 13%

48
64
33

R + G + B ~ 19%. #304021 is dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 64 + 33 = 145 (100%)
R 48 of 145 ~ 33.1%
G 64 of 145 ~ 44.14%
B 33 of 145 ~ 22.76'%

%33.1
%44.14
%22.76

CMYK color model

#304021 color CMYK value is (25,0,48,75).

  • cyan value is 25.00%
  • magenta value is 0.00%
  • yellow value is 48.44%
  • key color value is 74.90%
CMYK: (25,0,48,75) C25M0Y48K75 (25%,0%,48%,75%) (0.25/0.00/0.48/0.75) 

CMYK percentages

%25
%0
%48.44
%74.9

Codes

Color #304021 in popluar color models

30 40 21
RGB 48 64 33
HSL 91° 31.96% 19.02%
HSB/HSV 91° 48.44% 25.10%
CMYK 25.00% 0.00% 48.44%
74.90%

Color #304021 in popluar number systems.

HEX 30 40 21
Decimal 48 64 33
Binary 110000 1000000 100001
Octal 60 100 41

Shades and tints

Shades of #304021

#304021
(48,64,33)
#2C3B1E
(44,59,30)
#28361B
(40,54,27)
#243118
(36,49,24)
#202C15
(32,44,21)
#1C2712
(28,39,18)
#18220F
(24,34,15)
#141D0C
(20,29,12)
#101809
(16,24,9)
#0C1306
(12,19,6)
#080E03
(8,14,3)
#000000
(0,0,0)

Tints of #304021

#304021
(48,64,33)
#425135
(66,81,53)
#546249
(84,98,73)
#66735D
(102,115,93)
#788471
(120,132,113)
#8A9585
(138,149,133)
#9CA699
(156,166,153)
#AEB7AD
(174,183,173)
#C0C8C1
(192,200,193)
#D2D9D5
(210,217,213)
#E4EAE9
(228,234,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304021; }

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

This text font color is #304021.

Background Color

.myBgColor { background-color: #304021; }

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

This div background color is #304021.

Border color

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

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

This div border color is #304021.

Opacity

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

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

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

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

This text has shadow with #304021 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304021.

Preview

Color preview on black background

This text has color #304021 on black background.


Color preview on white background

This text has color #304021 on white background.


Black color preview on #304021 background

This text has black color on #304021 background.


White color preview on #304021 background

This text has white color on #304021 background.


Related colors

Complementary color

Complementary color for #hex is #CFBFDE.


I love getcolorcode.com

Triadic colors

1 #213040 and #402130 with #304021 are triadic colors.

2 #214030 and #403021 with #304021 are triadic colors.