COLOR #151C1B

HEX: #151C1B
RGB: (21,28,27)

Color info

#151C1B contains red, green and blue colors in about the same proportion. Web safe color of #151C1B is #003333 (or #033).

RGB color model

#151C1B color RGB value is (21,28,27).

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

RGB channels and saturation

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

21
28
27

R + G + B ~ 10%. #151C1B is dark color.

Portions of RGB colors in percentages

R + G + B =
21 + 28 + 27 = 76 (100%)
R 21 of 76 ~ 27.63%
G 28 of 76 ~ 36.84%
B 27 of 76 ~ 35.53%

%27.63
%36.84
%35.53

CMYK color model

#151C1B color CMYK value is (25,0,4,89).

  • cyan value is 25.00%
  • magenta value is 0.00%
  • yellow value is 3.57%
  • key color value is 89.02%
CMYK:
(25,0,4,89)
C25M0Y4K89 
(25%,0%,4%,89%)
(0.25/0.00/0.04/0.89)	

CMYK percentages

%25
%0
%3.57
%89.02

Codes

Color #151C1B in popluar color models

151C1B
RGB212827
HSL171°14.29%9.61%
HSB/HSV171°25.00%10.98%
CMYK25.00%0.00%3.57%
89.02%

Color #151C1B in popluar number systems.

HEX151C1B
Decimal212827
Binary101011110011011
Octal253433

Shades and tints

Shades of #151C1B

#151C1B
(21,28,27)
#141A19
(20,26,25)
#131817
(19,24,23)
#121615
(18,22,21)
#111413
(17,20,19)
#101211
(16,18,17)
#0F100F
(15,16,15)
#0E0E0D
(14,14,13)
#0D0C0B
(13,12,11)
#0C0A09
(12,10,9)
#0B0807
(11,8,7)
#000000
(0,0,0)

Tints of #151C1B

#151C1B
(21,28,27)
#2A302F
(42,48,47)
#3F4443
(63,68,67)
#545857
(84,88,87)
#696C6B
(105,108,107)
#7E807F
(126,128,127)
#939493
(147,148,147)
#A8A8A7
(168,168,167)
#BDBCBB
(189,188,187)
#D2D0CF
(210,208,207)
#E7E4E3
(231,228,227)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #151C1B; }

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

This text font color is #151C1B.


Background Color

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

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

This div background color is #151C1B.


Border color

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

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

This div border color is #151C1B.


Opacity

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

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

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

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

This text has shadow with #151C1B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #151C1B on black background.


Color preview on white background

This text has color #151C1B on white background.



Black color preview on #151C1B background

This text has black color on #151C1B background.


White color preview on #151C1B background

This text has white color on #151C1B background.