COLOR #301F18

HEX: #301F18
RGB: (48,31,24)

Color info

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

RGB color model

#301F18 color RGB value is (48,31,24).

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

RGB channels and saturation

R 48 of 255 = 19%
G 31 of 255 = 12%
B 24 of 255 = 9%

48
31
24

R + G + B ~ 13%. #301F18 is dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 31 + 24 = 103 (100%)
R 48 of 103 ~ 46.6%
G 31 of 103 ~ 30.1%
B 24 of 103 ~ 23.3%

%46.6
%30.1
%23.3

CMYK color model

#301F18 color CMYK value is (0,35,50,81).

  • cyan value is 0.00%
  • magenta value is 35.42%
  • yellow value is 50.00%
  • key color value is 81.18%
CMYK:
(0,35,50,81)
C0M35Y50K81 
(0%,35%,50%,81%)
(0.00/0.35/0.50/0.81)	

CMYK percentages

%0
%35.42
%50
%81.18

Codes

Color #301F18 in popluar color models

301F18
RGB483124
HSL18°33.33%14.12%
HSB/HSV18°50.00%18.82%
CMYK0.00%35.42%50.00%
81.18%

Color #301F18 in popluar number systems.

HEX301F18
Decimal483124
Binary1100001111111000
Octal603730

Shades and tints

Shades of #301F18

#301F18
(48,31,24)
#2C1D16
(44,29,22)
#281B14
(40,27,20)
#241912
(36,25,18)
#201710
(32,23,16)
#1C150E
(28,21,14)
#18130C
(24,19,12)
#14110A
(20,17,10)
#100F08
(16,15,8)
#0C0D06
(12,13,6)
#080B04
(8,11,4)
#000000
(0,0,0)

Tints of #301F18

#301F18
(48,31,24)
#42332D
(66,51,45)
#544742
(84,71,66)
#665B57
(102,91,87)
#786F6C
(120,111,108)
#8A8381
(138,131,129)
#9C9796
(156,151,150)
#AEABAB
(174,171,171)
#C0BFC0
(192,191,192)
#D2D3D5
(210,211,213)
#E4E7EA
(228,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #301F18; }

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

This text font color is #301F18.


Background Color

.myBgColor { background-color: #301F18; }

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

This div background color is #301F18.


Border color

.myBorderColor { border: 1px solid #301F18; }

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

This div border color is #301F18.


Opacity

.myOpacity80 { color: #301F18; opacity: 0.8; }

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

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

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

This text has shadow with #301F18 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #301F18 on black background.


Color preview on white background

This text has color #301F18 on white background.



Black color preview on #301F18 background

This text has black color on #301F18 background.


White color preview on #301F18 background

This text has white color on #301F18 background.