COLOR #150312

HEX: #150312
RGB: (21,3,18)

Color info

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

RGB color model

#150312 color RGB value is (21,3,18).

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

RGB channels and saturation

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

21
3
18

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

Portions of RGB colors in percentages

R + G + B =
21 + 3 + 18 = 42 (100%)
R 21 of 42 ~ 50%
G 3 of 42 ~ 7.14%
B 18 of 42 ~ 42.86%

%50
%42.86

CMYK color model

#150312 color CMYK value is (0,86,14,92).

  • cyan value is 0.00%
  • magenta value is 85.71%
  • yellow value is 14.29%
  • key color value is 91.76%
CMYK:
(0,86,14,92)
C0M86Y14K92 
(0%,86%,14%,92%)
(0.00/0.86/0.14/0.92)	

CMYK percentages

%0
%85.71
%14.29
%91.76

Codes

Color #150312 in popluar color models

150312
RGB21318
HSL310°75.00%4.71%
HSB/HSV310°85.71%8.24%
CMYK0.00%85.71%14.29%
91.76%

Color #150312 in popluar number systems.

HEX150312
Decimal21318
Binary101011110010
Octal25322

Shades and tints

Shades of #150312

#150312
(21,3,18)
#140311
(20,3,17)
#130310
(19,3,16)
#12030F
(18,3,15)
#11030E
(17,3,14)
#10030D
(16,3,13)
#0F030C
(15,3,12)
#0E030B
(14,3,11)
#0D030A
(13,3,10)
#0C0309
(12,3,9)
#0B0308
(11,3,8)
#000000
(0,0,0)

Tints of #150312

#150312
(21,3,18)
#2A1927
(42,25,39)
#3F2F3C
(63,47,60)
#544551
(84,69,81)
#695B66
(105,91,102)
#7E717B
(126,113,123)
#938790
(147,135,144)
#A89DA5
(168,157,165)
#BDB3BA
(189,179,186)
#D2C9CF
(210,201,207)
#E7DFE4
(231,223,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #150312; }

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

This text font color is #150312.


Background Color

.myBgColor { background-color: #150312; }

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

This div background color is #150312.


Border color

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

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

This div border color is #150312.


Opacity

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

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

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

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

This text has shadow with #150312 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #150312 on black background.


Color preview on white background

This text has color #150312 on white background.



Black color preview on #150312 background

This text has black color on #150312 background.


White color preview on #150312 background

This text has white color on #150312 background.