COLOR #308020

HEX: #308020
RGB: (48,128,32)

Color info

#308020 contains mainly green color. Web safe color of #308020 is #336633 (or #363).

RGB color model

#308020 color RGB value is (48,128,32).

  • red value is 48;
  • green value is 128;
  • blue value is 32.
RGB:
(48,128,32)
(19%,50%,13%)

RGB channels and saturation

R 48 of 255 = 19%
G 128 of 255 = 50%
B 32 of 255 = 13%

48
128
32

R + G + B ~ 27%. #308020 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 128 + 32 = 208 (100%)
R 48 of 208 ~ 23.08%
G 128 of 208 ~ 61.54%
B 32 of 208 ~ 15.38%

%23.08
%61.54
%15.38

CMYK color model

#308020 color CMYK value is (63,0,75,50).

  • cyan value is 62.50%
  • magenta value is 0.00%
  • yellow value is 75.00%
  • key color value is 49.80%
CMYK:
(63,0,75,50)
C63M0Y75K50 
(63%,0%,75%,50%)
(0.63/0.00/0.75/0.50)	

CMYK percentages

%62.5
%0
%75
%49.8

Codes

Color #308020 in popluar color models

308020
RGB4812832
HSL110°60.00%31.37%
HSB/HSV110°75.00%50.20%
CMYK62.50%0.00%75.00%
49.80%

Color #308020 in popluar number systems.

HEX308020
Decimal4812832
Binary11000010000000100000
Octal6020040

Shades and tints

Shades of #308020

#308020
(48,128,32)
#2C751E
(44,117,30)
#286A1C
(40,106,28)
#245F1A
(36,95,26)
#205418
(32,84,24)
#1C4916
(28,73,22)
#183E14
(24,62,20)
#143312
(20,51,18)
#102810
(16,40,16)
#0C1D0E
(12,29,14)
#08120C
(8,18,12)
#000000
(0,0,0)

Tints of #308020

#308020
(48,128,32)
#428B34
(66,139,52)
#549648
(84,150,72)
#66A15C
(102,161,92)
#78AC70
(120,172,112)
#8AB784
(138,183,132)
#9CC298
(156,194,152)
#AECDAC
(174,205,172)
#C0D8C0
(192,216,192)
#D2E3D4
(210,227,212)
#E4EEE8
(228,238,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #308020 color. Also use rgb(48,128,32) instead hex code.

Text Font Color

.myTextColor { color: #308020; }

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

This text font color is #308020.


Background Color

.myBgColor { background-color: #308020; }

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

This div background color is #308020.


Border color

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

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

This div border color is #308020.


Opacity

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

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

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

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

This text has shadow with #308020 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #308020 on black background.


Color preview on white background

This text has color #308020 on white background.



Black color preview on #308020 background

This text has black color on #308020 background.


White color preview on #308020 background

This text has white color on #308020 background.