COLOR #151B0B

HEX: #151B0B
RGB: (21,27,11)

Color info

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

RGB color model

#151B0B color RGB value is (21,27,11).

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

RGB channels and saturation

R 21 of 255 = 8%
G 27 of 255 = 11%
B 11 of 255 = 4%

21
27
11

R + G + B ~ 8%. #151B0B is dark color.

Portions of RGB colors in percentages

R + G + B =
21 + 27 + 11 = 59 (100%)
R 21 of 59 ~ 35.59%
G 27 of 59 ~ 45.76%
B 11 of 59 ~ 18.64%

%35.59
%45.76
%18.64

CMYK color model

#151B0B color CMYK value is (22,0,59,89).

  • cyan value is 22.22%
  • magenta value is 0.00%
  • yellow value is 59.26%
  • key color value is 89.41%
CMYK:
(22,0,59,89)
C22M0Y59K89 
(22%,0%,59%,89%)
(0.22/0.00/0.59/0.89)	

CMYK percentages

%22.22
%0
%59.26
%89.41

Codes

Color #151B0B in popluar color models

151B0B
RGB212711
HSL83°42.11%7.45%
HSB/HSV83°59.26%10.59%
CMYK22.22%0.00%59.26%
89.41%

Color #151B0B in popluar number systems.

HEX151B0B
Decimal212711
Binary10101110111011
Octal253313

Shades and tints

Shades of #151B0B

#151B0B
(21,27,11)
#14190A
(20,25,10)
#131709
(19,23,9)
#121508
(18,21,8)
#111307
(17,19,7)
#101106
(16,17,6)
#0F0F05
(15,15,5)
#0E0D04
(14,13,4)
#0D0B03
(13,11,3)
#0C0902
(12,9,2)
#0B0701
(11,7,1)
#000000
(0,0,0)

Tints of #151B0B

#151B0B
(21,27,11)
#2A2F21
(42,47,33)
#3F4337
(63,67,55)
#54574D
(84,87,77)
#696B63
(105,107,99)
#7E7F79
(126,127,121)
#93938F
(147,147,143)
#A8A7A5
(168,167,165)
#BDBBBB
(189,187,187)
#D2CFD1
(210,207,209)
#E7E3E7
(231,227,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #151B0B; }

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

This text font color is #151B0B.


Background Color

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

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

This div background color is #151B0B.


Border color

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

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

This div border color is #151B0B.


Opacity

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

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

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

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

This text has shadow with #151B0B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #151B0B on black background.


Color preview on white background

This text has color #151B0B on white background.



Black color preview on #151B0B background

This text has black color on #151B0B background.


White color preview on #151B0B background

This text has white color on #151B0B background.