COLOR #304C1F

HEX: #304C1F RGB: (48,76,31)

Color info

#304C1F contains red, green and blue colors in about the same proportion. Web safe color of #304C1F is #333333 (or #333).

RGB color model

#304C1F color RGB value is (48,76,31).

RGB: (48,76,31) (19%, 30%, 12%)

RGB channels and saturation

R 48 of 255 = 19%
G 76 of 255 = 30%
B 31 of 255 = 12%

48
76
31

R + G + B ~ 20%. #304C1F is dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 76 + 31 = 155 (100%)
R 48 of 155 ~ 30.97%
G 76 of 155 ~ 49.03%
B 31 of 155 ~ 20'%

%30.97
%49.03
%20

CMYK color model

#304C1F color CMYK value is (37,0,59,70).

  • cyan value is 36.84%
  • magenta value is 0.00%
  • yellow value is 59.21%
  • key color value is 70.20%

CMYK: (37,0,59,70)
C37M0Y59K70 (37%, 0%, 59%, 70%)
(0.37 / 0.00 / 0.59 / 0.70)

CMYK percentages

%36.84
%0
%59.21
%70.2

Codes

Color #304C1F in popluar color models

30 4C 1F
RGB 48 76 31
HSL 97° 42.06% 20.98%
HSB/HSV 97° 59.21% 29.80%
CMYK 36.84% 0.00% 59.21%
70.20%

Color #304C1F in popluar number systems.

HEX 30 4C 1F
Decimal 48 76 31
Binary 110000 1001100 11111
Octal 60 114 37

Shades and tints

Shades of #304C1F

#304C1F
(48,76,31)
#2C461D
(44,70,29)
#28401B
(40,64,27)
#243A19
(36,58,25)
#203417
(32,52,23)
#1C2E15
(28,46,21)
#182813
(24,40,19)
#142211
(20,34,17)
#101C0F
(16,28,15)
#0C160D
(12,22,13)
#08100B
(8,16,11)
#000000
(0,0,0)

Tints of #304C1F

#304C1F
(48,76,31)
#425C33
(66,92,51)
#546C47
(84,108,71)
#667C5B
(102,124,91)
#788C6F
(120,140,111)
#8A9C83
(138,156,131)
#9CAC97
(156,172,151)
#AEBCAB
(174,188,171)
#C0CCBF
(192,204,191)
#D2DCD3
(210,220,211)
#E4ECE7
(228,236,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304C1F color. Also use rgb(48,76,31) instead hex code.

Text Font Color

.myTextColor { color: #304C1F; }

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

This text font color is #304C1F.

Background Color

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

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

This div background color is #304C1F.

Border color

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

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

This div border color is #304C1F.

Opacity

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

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

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

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

This text has shadow with #304C1F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304C1F.

Preview

Color preview on black background

This text has color #304C1F on black background.


Color preview on white background

This text has color #304C1F on white background.


Black color preview on #304C1F background

This text has black color on #304C1F background.


White color preview on #304C1F background

This text has white color on #304C1F background.


Related colors

Complementary color

Complementary color for #hex is #CFB3E0.


I love getcolorcode.com

Triadic colors

1 #1F304C and #4C1F30 with #304C1F are triadic colors.

2 #1F4C30 and #4C301F with #304C1F are triadic colors.