COLOR #304A0C

HEX: #304A0C RGB: (48,74,12)

Color info

#304A0C contains mainly red and green colors. Web safe color of #304A0C is #333300 (or #330).

RGB color model

#304A0C color RGB value is (48,74,12).

RGB: (48,74,12) (19%, 29%, 5%)

RGB channels and saturation

R 48 of 255 = 19%
G 74 of 255 = 29%
B 12 of 255 = 5%

48
74
12

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

Portions of RGB colors in percentages

R + G + B = 48 + 74 + 12 = 134 (100%)
R 48 of 134 ~ 35.82%
G 74 of 134 ~ 55.22%
B 12 of 134 ~ 8.96'%

%35.82
%55.22

CMYK color model

#304A0C color CMYK value is (35,0,84,71).

  • cyan value is 35.14%
  • magenta value is 0.00%
  • yellow value is 83.78%
  • key color value is 70.98%
CMYK: (35,0,84,71) C35M0Y84K71 (35%,0%,84%,71%) (0.35/0.00/0.84/0.71) 

CMYK percentages

%35.14
%0
%83.78
%70.98

Codes

Color #304A0C in popluar color models

30 4A 0C
RGB 48 74 12
HSL 85° 72.09% 16.86%
HSB/HSV 85° 83.78% 29.02%
CMYK 35.14% 0.00% 83.78%
70.98%

Color #304A0C in popluar number systems.

HEX 30 4A 0C
Decimal 48 74 12
Binary 110000 1001010 1100
Octal 60 112 14

Shades and tints

Shades of #304A0C

#304A0C
(48,74,12)
#2C440B
(44,68,11)
#283E0A
(40,62,10)
#243809
(36,56,9)
#203208
(32,50,8)
#1C2C07
(28,44,7)
#182606
(24,38,6)
#142005
(20,32,5)
#101A04
(16,26,4)
#0C1403
(12,20,3)
#080E02
(8,14,2)
#000000
(0,0,0)

Tints of #304A0C

#304A0C
(48,74,12)
#425A22
(66,90,34)
#546A38
(84,106,56)
#667A4E
(102,122,78)
#788A64
(120,138,100)
#8A9A7A
(138,154,122)
#9CAA90
(156,170,144)
#AEBAA6
(174,186,166)
#C0CABC
(192,202,188)
#D2DAD2
(210,218,210)
#E4EAE8
(228,234,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304A0C color. Also use rgb(48,74,12) instead hex code.

Text Font Color

.myTextColor { color: #304A0C; }

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

This text font color is #304A0C.

Background Color

.myBgColor { background-color: #304A0C; }

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

This div background color is #304A0C.

Border color

.myBorderColor { border: 1px solid #304A0C; }

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

This div border color is #304A0C.

Opacity

.myOpacity80 { color: #304A0C; opacity: 0.8; }

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

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

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

This text has shadow with #304A0C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304A0C.

Preview

Color preview on black background

This text has color #304A0C on black background.


Color preview on white background

This text has color #304A0C on white background.


Black color preview on #304A0C background

This text has black color on #304A0C background.


White color preview on #304A0C background

This text has white color on #304A0C background.


Related colors

Complementary color

Complementary color for #hex is #CFB5F3.


I love getcolorcode.com

Triadic colors

1 #0C304A and #4A0C30 with #304A0C are triadic colors.

2 #0C4A30 and #4A300C with #304A0C are triadic colors.