COLOR #150171

HEX: #150171
RGB: (21,1,113)

Color info

#150171 contains mainly blue color. Web safe color of #150171 is #000066 (or #006).

RGB color model

#150171 color RGB value is (21,1,113).

  • red value is 21;
  • green value is 1;
  • blue value is 113.
RGB:
(21,1,113)
(8%,0%,44%)

RGB channels and saturation

R 21 of 255 = 8%
G 1 of 255 = 0%
B 113 of 255 = 44%

21
1
113

R + G + B ~ 17%. #150171 is dark color.

Portions of RGB colors in percentages

R + G + B =
21 + 1 + 113 = 135 (100%)
R 21 of 135 ~ 15.56%
G 1 of 135 ~ 0.74%
B 113 of 135 ~ 83.7%

%15.56
%83.7

CMYK color model

#150171 color CMYK value is (81,99,0,56).

  • cyan value is 81.42%
  • magenta value is 99.12%
  • yellow value is 0.00%
  • key color value is 55.69%
CMYK:
(81,99,0,56)
C81M99Y0K56 
(81%,99%,0%,56%)
(0.81/0.99/0.00/0.56)	

CMYK percentages

%81.42
%99.12
%0
%55.69

Codes

Color #150171 in popluar color models

150171
RGB211113
HSL251°98.25%22.35%
HSB/HSV251°99.12%44.31%
CMYK81.42%99.12%0.00%
55.69%

Color #150171 in popluar number systems.

HEX150171
Decimal211113
Binary1010111110001
Octal251161

Shades and tints

Shades of #150171

#150171
(21,1,113)
#140167
(20,1,103)
#13015D
(19,1,93)
#120153
(18,1,83)
#110149
(17,1,73)
#10013F
(16,1,63)
#0F0135
(15,1,53)
#0E012B
(14,1,43)
#0D0121
(13,1,33)
#0C0117
(12,1,23)
#0B010D
(11,1,13)
#000000
(0,0,0)

Tints of #150171

#150171
(21,1,113)
#2A187D
(42,24,125)
#3F2F89
(63,47,137)
#544695
(84,70,149)
#695DA1
(105,93,161)
#7E74AD
(126,116,173)
#938BB9
(147,139,185)
#A8A2C5
(168,162,197)
#BDB9D1
(189,185,209)
#D2D0DD
(210,208,221)
#E7E7E9
(231,231,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #150171 color. Also use rgb(21,1,113) instead hex code.

Text Font Color

.myTextColor { color: #150171; }

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

This text font color is #150171.


Background Color

.myBgColor { background-color: #150171; }

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

This div background color is #150171.


Border color

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

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

This div border color is #150171.


Opacity

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

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

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

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

This text has shadow with #150171 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #150171 on black background.


Color preview on white background

This text has color #150171 on white background.



Black color preview on #150171 background

This text has black color on #150171 background.


White color preview on #150171 background

This text has white color on #150171 background.