COLOR #304018

HEX: #304018 RGB: (48,64,24)

Color info

#304018 contains red, green and blue colors in about the same proportion. Web safe color of #304018 is #333300 (or #330).

RGB color model

#304018 color RGB value is (48,64,24).

RGB: (48,64,24) (19%, 25%, 9%)

RGB channels and saturation

R 48 of 255 = 19%
G 64 of 255 = 25%
B 24 of 255 = 9%

48
64
24

R + G + B ~ 18%. #304018 is dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 64 + 24 = 136 (100%)
R 48 of 136 ~ 35.29%
G 64 of 136 ~ 47.06%
B 24 of 136 ~ 17.65'%

%35.29
%47.06
%17.65

CMYK color model

#304018 color CMYK value is (25,0,63,75).

  • cyan value is 25.00%
  • magenta value is 0.00%
  • yellow value is 62.50%
  • key color value is 74.90%

CMYK: (25,0,63,75)
C25M0Y63K75 (25%, 0%, 63%, 75%)
(0.25 / 0.00 / 0.63 / 0.75)

CMYK percentages

%25
%0
%62.5
%74.9

Codes

Color #304018 in popluar color models

30 40 18
RGB 48 64 24
HSL 84° 45.45% 17.25%
HSB/HSV 84° 62.50% 25.10%
CMYK 25.00% 0.00% 62.50%
74.90%

Color #304018 in popluar number systems.

HEX 30 40 18
Decimal 48 64 24
Binary 110000 1000000 11000
Octal 60 100 30

Shades and tints

Shades of #304018

#304018
(48,64,24)
#2C3B16
(44,59,22)
#283614
(40,54,20)
#243112
(36,49,18)
#202C10
(32,44,16)
#1C270E
(28,39,14)
#18220C
(24,34,12)
#141D0A
(20,29,10)
#101808
(16,24,8)
#0C1306
(12,19,6)
#080E04
(8,14,4)
#000000
(0,0,0)

Tints of #304018

#304018
(48,64,24)
#42512D
(66,81,45)
#546242
(84,98,66)
#667357
(102,115,87)
#78846C
(120,132,108)
#8A9581
(138,149,129)
#9CA696
(156,166,150)
#AEB7AB
(174,183,171)
#C0C8C0
(192,200,192)
#D2D9D5
(210,217,213)
#E4EAEA
(228,234,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304018; }

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

This text font color is #304018.

Background Color

.myBgColor { background-color: #304018; }

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

This div background color is #304018.

Border color

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

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

This div border color is #304018.

Opacity

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

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

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

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

This text has shadow with #304018 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304018.

Preview

Color preview on black background

This text has color #304018 on black background.


Color preview on white background

This text has color #304018 on white background.


Black color preview on #304018 background

This text has black color on #304018 background.


White color preview on #304018 background

This text has white color on #304018 background.


Related colors

Complementary color

Complementary color for #hex is #CFBFE7.


I love getcolorcode.com

Triadic colors

1 #183040 and #401830 with #304018 are triadic colors.

2 #184030 and #403018 with #304018 are triadic colors.