COLOR #151B12

HEX: #151B12
RGB: (21,27,18)

Color info

#151B12 contains red, green and blue colors in about the same proportion. Web safe color of #151B12 is #003300 (or #030).

RGB color model

#151B12 color RGB value is (21,27,18).

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

RGB channels and saturation

R 21 of 255 = 8%
G 27 of 255 = 11%
B 18 of 255 = 7%

21
27
18

R + G + B ~ 9%. #151B12 is dark color.

Portions of RGB colors in percentages

R + G + B =
21 + 27 + 18 = 66 (100%)
R 21 of 66 ~ 31.82%
G 27 of 66 ~ 40.91%
B 18 of 66 ~ 27.27%

%31.82
%40.91
%27.27

CMYK color model

#151B12 color CMYK value is (22,0,33,89).

  • cyan value is 22.22%
  • magenta value is 0.00%
  • yellow value is 33.33%
  • key color value is 89.41%
CMYK:
(22,0,33,89)
C22M0Y33K89 
(22%,0%,33%,89%)
(0.22/0.00/0.33/0.89)	

CMYK percentages

%22.22
%0
%33.33
%89.41

Codes

Color #151B12 in popluar color models

151B12
RGB212718
HSL100°20.00%8.82%
HSB/HSV100°33.33%10.59%
CMYK22.22%0.00%33.33%
89.41%

Color #151B12 in popluar number systems.

HEX151B12
Decimal212718
Binary101011101110010
Octal253322

Shades and tints

Shades of #151B12

#151B12
(21,27,18)
#141911
(20,25,17)
#131710
(19,23,16)
#12150F
(18,21,15)
#11130E
(17,19,14)
#10110D
(16,17,13)
#0F0F0C
(15,15,12)
#0E0D0B
(14,13,11)
#0D0B0A
(13,11,10)
#0C0909
(12,9,9)
#0B0708
(11,7,8)
#000000
(0,0,0)

Tints of #151B12

#151B12
(21,27,18)
#2A2F27
(42,47,39)
#3F433C
(63,67,60)
#545751
(84,87,81)
#696B66
(105,107,102)
#7E7F7B
(126,127,123)
#939390
(147,147,144)
#A8A7A5
(168,167,165)
#BDBBBA
(189,187,186)
#D2CFCF
(210,207,207)
#E7E3E4
(231,227,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #151B12 color. Also use rgb(21,27,18) instead hex code.

Text Font Color

.myTextColor { color: #151B12; }

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

This text font color is #151B12.


Background Color

.myBgColor { background-color: #151B12; }

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

This div background color is #151B12.


Border color

.myBorderColor { border: 1px solid #151B12; }

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

This div border color is #151B12.


Opacity

.myOpacity80 { color: #151B12; opacity: 0.8; }

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

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

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

This text has shadow with #151B12 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #151B12 on black background.


Color preview on white background

This text has color #151B12 on white background.



Black color preview on #151B12 background

This text has black color on #151B12 background.


White color preview on #151B12 background

This text has white color on #151B12 background.