COLOR #304012

HEX: #304012 RGB: (48,64,18)

Color info

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

RGB color model

#304012 color RGB value is (48,64,18).

RGB: (48,64,18) (19%, 25%, 7%)

RGB channels and saturation

R 48 of 255 = 19%
G 64 of 255 = 25%
B 18 of 255 = 7%

48
64
18

R + G + B ~ 17%. #304012 is dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 64 + 18 = 130 (100%)
R 48 of 130 ~ 36.92%
G 64 of 130 ~ 49.23%
B 18 of 130 ~ 13.85'%

%36.92
%49.23
%13.85

CMYK color model

#304012 color CMYK value is (25,0,72,75).

  • cyan value is 25.00%
  • magenta value is 0.00%
  • yellow value is 71.88%
  • key color value is 74.90%
CMYK: (25,0,72,75) C25M0Y72K75 (25%,0%,72%,75%) (0.25/0.00/0.72/0.75) 

CMYK percentages

%25
%0
%71.88
%74.9

Codes

Color #304012 in popluar color models

30 40 12
RGB 48 64 18
HSL 81° 56.10% 16.08%
HSB/HSV 81° 71.88% 25.10%
CMYK 25.00% 0.00% 71.88%
74.90%

Color #304012 in popluar number systems.

HEX 30 40 12
Decimal 48 64 18
Binary 110000 1000000 10010
Octal 60 100 22

Shades and tints

Shades of #304012

#304012
(48,64,18)
#2C3B11
(44,59,17)
#283610
(40,54,16)
#24310F
(36,49,15)
#202C0E
(32,44,14)
#1C270D
(28,39,13)
#18220C
(24,34,12)
#141D0B
(20,29,11)
#10180A
(16,24,10)
#0C1309
(12,19,9)
#080E08
(8,14,8)
#000000
(0,0,0)

Tints of #304012

#304012
(48,64,18)
#425127
(66,81,39)
#54623C
(84,98,60)
#667351
(102,115,81)
#788466
(120,132,102)
#8A957B
(138,149,123)
#9CA690
(156,166,144)
#AEB7A5
(174,183,165)
#C0C8BA
(192,200,186)
#D2D9CF
(210,217,207)
#E4EAE4
(228,234,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304012; }

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

This text font color is #304012.

Background Color

.myBgColor { background-color: #304012; }

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

This div background color is #304012.

Border color

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

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

This div border color is #304012.

Opacity

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

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

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

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

This text has shadow with #304012 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304012.

Preview

Color preview on black background

This text has color #304012 on black background.


Color preview on white background

This text has color #304012 on white background.


Black color preview on #304012 background

This text has black color on #304012 background.


White color preview on #304012 background

This text has white color on #304012 background.


Related colors

Complementary color

Complementary color for #hex is #CFBFED.


I love getcolorcode.com

Triadic colors

1 #123040 and #401230 with #304012 are triadic colors.

2 #124030 and #403012 with #304012 are triadic colors.