COLOR #15157F

HEX: #15157F
RGB: (21,21,127)

Color info

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

RGB color model

#15157F color RGB value is (21,21,127).

  • red value is 21;
  • green value is 21;
  • blue value is 127.
RGB:
(21,21,127)
(8%,8%,50%)

RGB channels and saturation

R 21 of 255 = 8%
G 21 of 255 = 8%
B 127 of 255 = 50%

21
21
127

R + G + B ~ 22%. #15157F is dark color.

Portions of RGB colors in percentages

R + G + B =
21 + 21 + 127 = 169 (100%)
R 21 of 169 ~ 12.43%
G 21 of 169 ~ 12.43%
B 127 of 169 ~ 75.15%

%12.43
%12.43
%75.15

CMYK color model

#15157F color CMYK value is (83,83,0,50).

  • cyan value is 83.46%
  • magenta value is 83.46%
  • yellow value is 0.00%
  • key color value is 50.20%
CMYK:
(83,83,0,50)
C83M83Y0K50 
(83%,83%,0%,50%)
(0.83/0.83/0.00/0.50)	

CMYK percentages

%83.46
%83.46
%0
%50.2

Codes

Color #15157F in popluar color models

15157F
RGB2121127
HSL240°71.62%29.02%
HSB/HSV240°83.46%49.80%
CMYK83.46%83.46%0.00%
50.20%

Color #15157F in popluar number systems.

HEX15157F
Decimal2121127
Binary10101101011111111
Octal2525177

Shades and tints

Shades of #15157F

#15157F
(21,21,127)
#141474
(20,20,116)
#131369
(19,19,105)
#12125E
(18,18,94)
#111153
(17,17,83)
#101048
(16,16,72)
#0F0F3D
(15,15,61)
#0E0E32
(14,14,50)
#0D0D27
(13,13,39)
#0C0C1C
(12,12,28)
#0B0B11
(11,11,17)
#000000
(0,0,0)

Tints of #15157F

#15157F
(21,21,127)
#2A2A8A
(42,42,138)
#3F3F95
(63,63,149)
#5454A0
(84,84,160)
#6969AB
(105,105,171)
#7E7EB6
(126,126,182)
#9393C1
(147,147,193)
#A8A8CC
(168,168,204)
#BDBDD7
(189,189,215)
#D2D2E2
(210,210,226)
#E7E7ED
(231,231,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #15157F color. Also use rgb(21,21,127) instead hex code.

Text Font Color

.myTextColor { color: #15157F; }

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

This text font color is #15157F.


Background Color

.myBgColor { background-color: #15157F; }

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

This div background color is #15157F.


Border color

.myBorderColor { border: 1px solid #15157F; }

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

This div border color is #15157F.


Opacity

.myOpacity80 { color: #15157F; opacity: 0.8; }

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

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

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

This text has shadow with #15157F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #15157F on black background.


Color preview on white background

This text has color #15157F on white background.



Black color preview on #15157F background

This text has black color on #15157F background.


White color preview on #15157F background

This text has white color on #15157F background.