COLOR #1B1F12

HEX: #1B1F12
RGB: (27,31,18)

Color info

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

RGB color model

#1B1F12 color RGB value is (27,31,18).

  • red value is 27;
  • green value is 31;
  • blue value is 18.
RGB:
(27,31,18)
(11%,12%,7%)

RGB channels and saturation

R 27 of 255 = 11%
G 31 of 255 = 12%
B 18 of 255 = 7%

27
31
18

R + G + B ~ 10%. #1B1F12 is dark color.

Portions of RGB colors in percentages

R + G + B =
27 + 31 + 18 = 76 (100%)
R 27 of 76 ~ 35.53%
G 31 of 76 ~ 40.79%
B 18 of 76 ~ 23.68%

%35.53
%40.79
%23.68

CMYK color model

#1B1F12 color CMYK value is (13,0,42,88).

  • cyan value is 12.90%
  • magenta value is 0.00%
  • yellow value is 41.94%
  • key color value is 87.84%
CMYK:
(13,0,42,88)
C13M0Y42K88 
(13%,0%,42%,88%)
(0.13/0.00/0.42/0.88)	

CMYK percentages

%12.9
%0
%41.94
%87.84

Codes

Color #1B1F12 in popluar color models

1B1F12
RGB273118
HSL78°26.53%9.61%
HSB/HSV78°41.94%12.16%
CMYK12.90%0.00%41.94%
87.84%

Color #1B1F12 in popluar number systems.

HEX1B1F12
Decimal273118
Binary110111111110010
Octal333722

Shades and tints

Shades of #1B1F12

#1B1F12
(27,31,18)
#191D11
(25,29,17)
#171B10
(23,27,16)
#15190F
(21,25,15)
#13170E
(19,23,14)
#11150D
(17,21,13)
#0F130C
(15,19,12)
#0D110B
(13,17,11)
#0B0F0A
(11,15,10)
#090D09
(9,13,9)
#070B08
(7,11,8)
#000000
(0,0,0)

Tints of #1B1F12

#1B1F12
(27,31,18)
#2F3327
(47,51,39)
#43473C
(67,71,60)
#575B51
(87,91,81)
#6B6F66
(107,111,102)
#7F837B
(127,131,123)
#939790
(147,151,144)
#A7ABA5
(167,171,165)
#BBBFBA
(187,191,186)
#CFD3CF
(207,211,207)
#E3E7E4
(227,231,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1B1F12 color. Also use rgb(27,31,18) instead hex code.

Text Font Color

.myTextColor { color: #1B1F12; }

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

This text font color is #1B1F12.


Background Color

.myBgColor { background-color: #1B1F12; }

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

This div background color is #1B1F12.


Border color

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

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

This div border color is #1B1F12.


Opacity

.myOpacity80 { color: #1B1F12; opacity: 0.8; }

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

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

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

This text has shadow with #1B1F12 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1B1F12 on black background.


Color preview on white background

This text has color #1B1F12 on white background.



Black color preview on #1B1F12 background

This text has black color on #1B1F12 background.


White color preview on #1B1F12 background

This text has white color on #1B1F12 background.