COLOR #15157B

HEX: #15157B
RGB: (21,21,123)

Color info

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

RGB color model

#15157B color RGB value is (21,21,123).

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

RGB channels and saturation

R 21 of 255 = 8%
G 21 of 255 = 8%
B 123 of 255 = 48%

21
21
123

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

Portions of RGB colors in percentages

R + G + B =
21 + 21 + 123 = 165 (100%)
R 21 of 165 ~ 12.73%
G 21 of 165 ~ 12.73%
B 123 of 165 ~ 74.55%

%12.73
%12.73
%74.55

CMYK color model

#15157B color CMYK value is (83,83,0,52).

  • cyan value is 82.93%
  • magenta value is 82.93%
  • yellow value is 0.00%
  • key color value is 51.76%
CMYK:
(83,83,0,52)
C83M83Y0K52 
(83%,83%,0%,52%)
(0.83/0.83/0.00/0.52)	

CMYK percentages

%82.93
%82.93
%0
%51.76

Codes

Color #15157B in popluar color models

15157B
RGB2121123
HSL240°70.83%28.24%
HSB/HSV240°82.93%48.24%
CMYK82.93%82.93%0.00%
51.76%

Color #15157B in popluar number systems.

HEX15157B
Decimal2121123
Binary10101101011111011
Octal2525173

Shades and tints

Shades of #15157B

#15157B
(21,21,123)
#141470
(20,20,112)
#131365
(19,19,101)
#12125A
(18,18,90)
#11114F
(17,17,79)
#101044
(16,16,68)
#0F0F39
(15,15,57)
#0E0E2E
(14,14,46)
#0D0D23
(13,13,35)
#0C0C18
(12,12,24)
#0B0B0D
(11,11,13)
#000000
(0,0,0)

Tints of #15157B

#15157B
(21,21,123)
#2A2A87
(42,42,135)
#3F3F93
(63,63,147)
#54549F
(84,84,159)
#6969AB
(105,105,171)
#7E7EB7
(126,126,183)
#9393C3
(147,147,195)
#A8A8CF
(168,168,207)
#BDBDDB
(189,189,219)
#D2D2E7
(210,210,231)
#E7E7F3
(231,231,243)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #15157B; }

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

This text font color is #15157B.


Background Color

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

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

This div background color is #15157B.


Border color

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

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

This div border color is #15157B.


Opacity

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

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

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

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

This text has shadow with #15157B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #15157B on black background.


Color preview on white background

This text has color #15157B on white background.



Black color preview on #15157B background

This text has black color on #15157B background.


White color preview on #15157B background

This text has white color on #15157B background.