COLOR #307818

HEX: #307818
RGB: (48,120,24)

Color info

#307818 contains mainly green color. Web safe color of #307818 is #336600 (or #360).

RGB color model

#307818 color RGB value is (48,120,24).

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

RGB channels and saturation

R 48 of 255 = 19%
G 120 of 255 = 47%
B 24 of 255 = 9%

48
120
24

R + G + B ~ 25%. #307818 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 120 + 24 = 192 (100%)
R 48 of 192 ~ 25%
G 120 of 192 ~ 62.5%
B 24 of 192 ~ 12.5%

%25
%62.5
%12.5

CMYK color model

#307818 color CMYK value is (60,0,80,53).

  • cyan value is 60.00%
  • magenta value is 0.00%
  • yellow value is 80.00%
  • key color value is 52.94%
CMYK:
(60,0,80,53)
C60M0Y80K53 
(60%,0%,80%,53%)
(0.60/0.00/0.80/0.53)	

CMYK percentages

%60
%0
%80
%52.94

Codes

Color #307818 in popluar color models

307818
RGB4812024
HSL105°66.67%28.24%
HSB/HSV105°80.00%47.06%
CMYK60.00%0.00%80.00%
52.94%

Color #307818 in popluar number systems.

HEX307818
Decimal4812024
Binary110000111100011000
Octal6017030

Shades and tints

Shades of #307818

#307818
(48,120,24)
#2C6E16
(44,110,22)
#286414
(40,100,20)
#245A12
(36,90,18)
#205010
(32,80,16)
#1C460E
(28,70,14)
#183C0C
(24,60,12)
#14320A
(20,50,10)
#102808
(16,40,8)
#0C1E06
(12,30,6)
#081404
(8,20,4)
#000000
(0,0,0)

Tints of #307818

#307818
(48,120,24)
#42842D
(66,132,45)
#549042
(84,144,66)
#669C57
(102,156,87)
#78A86C
(120,168,108)
#8AB481
(138,180,129)
#9CC096
(156,192,150)
#AECCAB
(174,204,171)
#C0D8C0
(192,216,192)
#D2E4D5
(210,228,213)
#E4F0EA
(228,240,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #307818; }

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

This text font color is #307818.


Background Color

.myBgColor { background-color: #307818; }

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

This div background color is #307818.


Border color

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

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

This div border color is #307818.


Opacity

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

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

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

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

This text has shadow with #307818 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #307818 on black background.


Color preview on white background

This text has color #307818 on white background.



Black color preview on #307818 background

This text has black color on #307818 background.


White color preview on #307818 background

This text has white color on #307818 background.