COLOR #306018

HEX: #306018
RGB: (48,96,24)

Color info

#306018 contains mainly red and green colors. Web safe color of #306018 is #336600 (or #360).

RGB color model

#306018 color RGB value is (48,96,24).

  • red value is 48;
  • green value is 96;
  • blue value is 24.
RGB:
(48,96,24)
(19%,38%,9%)

RGB channels and saturation

R 48 of 255 = 19%
G 96 of 255 = 38%
B 24 of 255 = 9%

48
96
24

R + G + B ~ 22%. #306018 is dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 96 + 24 = 168 (100%)
R 48 of 168 ~ 28.57%
G 96 of 168 ~ 57.14%
B 24 of 168 ~ 14.29%

%28.57
%57.14
%14.29

CMYK color model

#306018 color CMYK value is (50,0,75,62).

  • cyan value is 50.00%
  • magenta value is 0.00%
  • yellow value is 75.00%
  • key color value is 62.35%
CMYK:
(50,0,75,62)
C50M0Y75K62 
(50%,0%,75%,62%)
(0.50/0.00/0.75/0.62)	

CMYK percentages

%50
%0
%75
%62.35

Codes

Color #306018 in popluar color models

306018
RGB489624
HSL100°60.00%23.53%
HSB/HSV100°75.00%37.65%
CMYK50.00%0.00%75.00%
62.35%

Color #306018 in popluar number systems.

HEX306018
Decimal489624
Binary110000110000011000
Octal6014030

Shades and tints

Shades of #306018

#306018
(48,96,24)
#2C5816
(44,88,22)
#285014
(40,80,20)
#244812
(36,72,18)
#204010
(32,64,16)
#1C380E
(28,56,14)
#18300C
(24,48,12)
#14280A
(20,40,10)
#102008
(16,32,8)
#0C1806
(12,24,6)
#081004
(8,16,4)
#000000
(0,0,0)

Tints of #306018

#306018
(48,96,24)
#426E2D
(66,110,45)
#547C42
(84,124,66)
#668A57
(102,138,87)
#78986C
(120,152,108)
#8AA681
(138,166,129)
#9CB496
(156,180,150)
#AEC2AB
(174,194,171)
#C0D0C0
(192,208,192)
#D2DED5
(210,222,213)
#E4ECEA
(228,236,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #306018 color. Also use rgb(48,96,24) instead hex code.

Text Font Color

.myTextColor { color: #306018; }

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

This text font color is #306018.


Background Color

.myBgColor { background-color: #306018; }

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

This div background color is #306018.


Border color

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

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

This div border color is #306018.


Opacity

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

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

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

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

This text has shadow with #306018 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #306018 on black background.


Color preview on white background

This text has color #306018 on white background.



Black color preview on #306018 background

This text has black color on #306018 background.


White color preview on #306018 background

This text has white color on #306018 background.