COLOR #305B21

HEX: #305B21
RGB: (48,91,33)

Color info

#305B21 contains red, green and blue colors in about the same proportion. Web safe color of #305B21 is #336633 (or #363).

RGB color model

#305B21 color RGB value is (48,91,33).

  • red value is 48;
  • green value is 91;
  • blue value is 33.
RGB:
(48,91,33)
(19%,36%,13%)

RGB channels and saturation

R 48 of 255 = 19%
G 91 of 255 = 36%
B 33 of 255 = 13%

48
91
33

R + G + B ~ 23%. #305B21 is dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 91 + 33 = 172 (100%)
R 48 of 172 ~ 27.91%
G 91 of 172 ~ 52.91%
B 33 of 172 ~ 19.19%

%27.91
%52.91
%19.19

CMYK color model

#305B21 color CMYK value is (47,0,64,64).

  • cyan value is 47.25%
  • magenta value is 0.00%
  • yellow value is 63.74%
  • key color value is 64.31%
CMYK:
(47,0,64,64)
C47M0Y64K64 
(47%,0%,64%,64%)
(0.47/0.00/0.64/0.64)	

CMYK percentages

%47.25
%0
%63.74
%64.31

Codes

Color #305B21 in popluar color models

305B21
RGB489133
HSL104°46.77%24.31%
HSB/HSV104°63.74%35.69%
CMYK47.25%0.00%63.74%
64.31%

Color #305B21 in popluar number systems.

HEX305B21
Decimal489133
Binary1100001011011100001
Octal6013341

Shades and tints

Shades of #305B21

#305B21
(48,91,33)
#2C531E
(44,83,30)
#284B1B
(40,75,27)
#244318
(36,67,24)
#203B15
(32,59,21)
#1C3312
(28,51,18)
#182B0F
(24,43,15)
#14230C
(20,35,12)
#101B09
(16,27,9)
#0C1306
(12,19,6)
#080B03
(8,11,3)
#000000
(0,0,0)

Tints of #305B21

#305B21
(48,91,33)
#426935
(66,105,53)
#547749
(84,119,73)
#66855D
(102,133,93)
#789371
(120,147,113)
#8AA185
(138,161,133)
#9CAF99
(156,175,153)
#AEBDAD
(174,189,173)
#C0CBC1
(192,203,193)
#D2D9D5
(210,217,213)
#E4E7E9
(228,231,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #305B21; }

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

This text font color is #305B21.


Background Color

.myBgColor { background-color: #305B21; }

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

This div background color is #305B21.


Border color

.myBorderColor { border: 1px solid #305B21; }

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

This div border color is #305B21.


Opacity

.myOpacity80 { color: #305B21; opacity: 0.8; }

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

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

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

This text has shadow with #305B21 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #305B21 on black background.


Color preview on white background

This text has color #305B21 on white background.



Black color preview on #305B21 background

This text has black color on #305B21 background.


White color preview on #305B21 background

This text has white color on #305B21 background.