COLOR #152548

HEX: #152548 RGB: (21,37,72)

Color info

#152548 contains red, green and blue colors in about the same proportion. Web safe color of #152548 is #003333 (or #033).

RGB color model

#152548 color RGB value is (21,37,72).

RGB: (21,37,72) (8%, 15%, 28%)

RGB channels and saturation

R 21 of 255 = 8%
G 37 of 255 = 15%
B 72 of 255 = 28%

21
37
72

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

Portions of RGB colors in percentages

R + G + B = 21 + 37 + 72 = 130 (100%)
R 21 of 130 ~ 16.15%
G 37 of 130 ~ 28.46%
B 72 of 130 ~ 55.38'%

%16.15
%28.46
%55.38

CMYK color model

#152548 color CMYK value is (71,49,0,72).

  • cyan value is 70.83%
  • magenta value is 48.61%
  • yellow value is 0.00%
  • key color value is 71.76%
CMYK: (71,49,0,72) C71M49Y0K72 (71%,49%,0%,72%) (0.71/0.49/0.00/0.72) 

CMYK percentages

%70.83
%48.61
%0
%71.76

Codes

Color #152548 in popluar color models

15 25 48
RGB 21 37 72
HSL 221° 54.84% 18.24%
HSB/HSV 221° 70.83% 28.24%
CMYK 70.83% 48.61% 0.00%
71.76%

Color #152548 in popluar number systems.

HEX 15 25 48
Decimal 21 37 72
Binary 10101 100101 1001000
Octal 25 45 110

Shades and tints

Shades of #152548

#152548
(21,37,72)
#142242
(20,34,66)
#131F3C
(19,31,60)
#121C36
(18,28,54)
#111930
(17,25,48)
#10162A
(16,22,42)
#0F1324
(15,19,36)
#0E101E
(14,16,30)
#0D0D18
(13,13,24)
#0C0A12
(12,10,18)
#0B070C
(11,7,12)
#000000
(0,0,0)

Tints of #152548

#152548
(21,37,72)
#2A3858
(42,56,88)
#3F4B68
(63,75,104)
#545E78
(84,94,120)
#697188
(105,113,136)
#7E8498
(126,132,152)
#9397A8
(147,151,168)
#A8AAB8
(168,170,184)
#BDBDC8
(189,189,200)
#D2D0D8
(210,208,216)
#E7E3E8
(231,227,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #152548 color. Also use rgb(21,37,72) instead hex code.

Text Font Color

.myTextColor { color: #152548; }

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

This text font color is #152548.

Background Color

.myBgColor { background-color: #152548; }

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

This div background color is #152548.

Border color

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

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

This div border color is #152548.

Opacity

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

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

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

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

This text has shadow with #152548 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #152548.

Preview

Color preview on black background

This text has color #152548 on black background.


Color preview on white background

This text has color #152548 on white background.


Black color preview on #152548 background

This text has black color on #152548 background.


White color preview on #152548 background

This text has white color on #152548 background.


Related colors

Complementary color

Complementary color for #hex is #EADAB7.


I love getcolorcode.com

Triadic colors

1 #481525 and #254815 with #152548 are triadic colors.

2 #482515 and #251548 with #152548 are triadic colors.