COLOR #150212

HEX: #150212
RGB: (21,2,18)

Color info

#150212 contains red, green and blue colors in about the same proportion. Web safe color of #150212 is #000000 (or #000).

RGB color model

#150212 color RGB value is (21,2,18).

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

RGB channels and saturation

R 21 of 255 = 8%
G 2 of 255 = 1%
B 18 of 255 = 7%

21
2
18

R + G + B ~ 5%. #150212 is dark color.

Portions of RGB colors in percentages

R + G + B =
21 + 2 + 18 = 41 (100%)
R 21 of 41 ~ 51.22%
G 2 of 41 ~ 4.88%
B 18 of 41 ~ 43.9%

%51.22
%43.9

CMYK color model

#150212 color CMYK value is (0,90,14,92).

  • cyan value is 0.00%
  • magenta value is 90.48%
  • yellow value is 14.29%
  • key color value is 91.76%
CMYK:
(0,90,14,92)
C0M90Y14K92 
(0%,90%,14%,92%)
(0.00/0.90/0.14/0.92)	

CMYK percentages

%0
%90.48
%14.29
%91.76

Codes

Color #150212 in popluar color models

150212
RGB21218
HSL309°82.61%4.51%
HSB/HSV309°90.48%8.24%
CMYK0.00%90.48%14.29%
91.76%

Color #150212 in popluar number systems.

HEX150212
Decimal21218
Binary101011010010
Octal25222

Shades and tints

Shades of #150212

#150212
(21,2,18)
#140211
(20,2,17)
#130210
(19,2,16)
#12020F
(18,2,15)
#11020E
(17,2,14)
#10020D
(16,2,13)
#0F020C
(15,2,12)
#0E020B
(14,2,11)
#0D020A
(13,2,10)
#0C0209
(12,2,9)
#0B0208
(11,2,8)
#000000
(0,0,0)

Tints of #150212

#150212
(21,2,18)
#2A1927
(42,25,39)
#3F303C
(63,48,60)
#544751
(84,71,81)
#695E66
(105,94,102)
#7E757B
(126,117,123)
#938C90
(147,140,144)
#A8A3A5
(168,163,165)
#BDBABA
(189,186,186)
#D2D1CF
(210,209,207)
#E7E8E4
(231,232,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #150212; }

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

This text font color is #150212.


Background Color

.myBgColor { background-color: #150212; }

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

This div background color is #150212.


Border color

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

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

This div border color is #150212.


Opacity

.myOpacity80 { color: #150212; opacity: 0.8; }

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

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

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

This text has shadow with #150212 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #150212 on black background.


Color preview on white background

This text has color #150212 on white background.



Black color preview on #150212 background

This text has black color on #150212 background.


White color preview on #150212 background

This text has white color on #150212 background.