COLOR #15158A

HEX: #15158A RGB: (21,21,138)

Color info

#15158A contains mainly blue color. Web safe color of #15158A is #000099 (or #009).

RGB color model

#15158A color RGB value is (21,21,138).

RGB: (21,21,138) (8%, 8%, 54%)

RGB channels and saturation

R 21 of 255 = 8%
G 21 of 255 = 8%
B 138 of 255 = 54%

21
21
138

R + G + B ~ 23%. #15158A is dark color.

Portions of RGB colors in percentages

R + G + B = 21 + 21 + 138 = 180 (100%)
R 21 of 180 ~ 11.67%
G 21 of 180 ~ 11.67%
B 138 of 180 ~ 76.67'%

%11.67
%11.67
%76.67

CMYK color model

#15158A color CMYK value is (85,85,0,46).

  • cyan value is 84.78%
  • magenta value is 84.78%
  • yellow value is 0.00%
  • key color value is 45.88%

CMYK: (85,85,0,46)
C85M85Y0K46 (85%, 85%, 0%, 46%)
(0.85 / 0.85 / 0.00 / 0.46)

CMYK percentages

%84.78
%84.78
%0
%45.88

Codes

Color #15158A in popluar color models

15 15 8A
RGB 21 21 138
HSL 240° 73.58% 31.18%
HSB/HSV 240° 84.78% 54.12%
CMYK 84.78% 84.78% 0.00%
45.88%

Color #15158A in popluar number systems.

HEX 15 15 8A
Decimal 21 21 138
Binary 10101 10101 10001010
Octal 25 25 212

Shades and tints

Shades of #15158A

#15158A
(21,21,138)
#14147E
(20,20,126)
#131372
(19,19,114)
#121266
(18,18,102)
#11115A
(17,17,90)
#10104E
(16,16,78)
#0F0F42
(15,15,66)
#0E0E36
(14,14,54)
#0D0D2A
(13,13,42)
#0C0C1E
(12,12,30)
#0B0B12
(11,11,18)
#000000
(0,0,0)

Tints of #15158A

#15158A
(21,21,138)
#2A2A94
(42,42,148)
#3F3F9E
(63,63,158)
#5454A8
(84,84,168)
#6969B2
(105,105,178)
#7E7EBC
(126,126,188)
#9393C6
(147,147,198)
#A8A8D0
(168,168,208)
#BDBDDA
(189,189,218)
#D2D2E4
(210,210,228)
#E7E7EE
(231,231,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #15158A color. Also use rgb(21,21,138) instead hex code.

Text Font Color

.myTextColor { color: #15158A; }

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

This text font color is #15158A.

Background Color

.myBgColor { background-color: #15158A; }

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

This div background color is #15158A.

Border color

.myBorderColor { border: 1px solid #15158A; }

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

This div border color is #15158A.

Opacity

.myOpacity80 { color: #15158A; opacity: 0.8; }

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

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

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

This text has shadow with #15158A color.


.textShadow {text-shadow: 3px 3px 1px #15158A', 3px 3px 1px red;}

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

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


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

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

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

Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #15158A; -webkit-box-shadow: 1px 1px 3px 2px #15158A; box-shadow:1px 1px 3px 2px #15158A;">
Div content here
</div>

This div box has shadow with color #15158A.

Preview

Color preview on black background

This text has color #15158A on black background.


Color preview on white background

This text has color #15158A on white background.


Black color preview on #15158A background

This text has black color on #15158A background.


White color preview on #15158A background

This text has white color on #15158A background.


Related colors

Complementary color

Complementary color for #hex is #EAEA75.


I love getcolorcode.com