COLOR #152559

HEX: #152559
RGB: (21,37,89)

Color info

#152559 contains mainly green and blue colors. Web safe color of #152559 is #003366 (or #036).

RGB color model

#152559 color RGB value is (21,37,89).

  • red value is 21;
  • green value is 37;
  • blue value is 89.
RGB:
(21,37,89)
(8%,15%,35%)

RGB channels and saturation

R 21 of 255 = 8%
G 37 of 255 = 15%
B 89 of 255 = 35%

21
37
89

R + G + B ~ 19%. #152559 is dark color.

Portions of RGB colors in percentages

R + G + B =
21 + 37 + 89 = 147 (100%)
R 21 of 147 ~ 14.29%
G 37 of 147 ~ 25.17%
B 89 of 147 ~ 60.54%

%14.29
%25.17
%60.54

CMYK color model

#152559 color CMYK value is (76,58,0,65).

  • cyan value is 76.40%
  • magenta value is 58.43%
  • yellow value is 0.00%
  • key color value is 65.10%
CMYK:
(76,58,0,65)
C76M58Y0K65 
(76%,58%,0%,65%)
(0.76/0.58/0.00/0.65)	

CMYK percentages

%76.4
%58.43
%0
%65.1

Codes

Color #152559 in popluar color models

152559
RGB213789
HSL226°61.82%21.57%
HSB/HSV226°76.40%34.90%
CMYK76.40%58.43%0.00%
65.10%

Color #152559 in popluar number systems.

HEX152559
Decimal213789
Binary101011001011011001
Octal2545131

Shades and tints

Shades of #152559

#152559
(21,37,89)
#142251
(20,34,81)
#131F49
(19,31,73)
#121C41
(18,28,65)
#111939
(17,25,57)
#101631
(16,22,49)
#0F1329
(15,19,41)
#0E1021
(14,16,33)
#0D0D19
(13,13,25)
#0C0A11
(12,10,17)
#0B0709
(11,7,9)
#000000
(0,0,0)

Tints of #152559

#152559
(21,37,89)
#2A3868
(42,56,104)
#3F4B77
(63,75,119)
#545E86
(84,94,134)
#697195
(105,113,149)
#7E84A4
(126,132,164)
#9397B3
(147,151,179)
#A8AAC2
(168,170,194)
#BDBDD1
(189,189,209)
#D2D0E0
(210,208,224)
#E7E3EF
(231,227,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #152559; }

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

This text font color is #152559.


Background Color

.myBgColor { background-color: #152559; }

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

This div background color is #152559.


Border color

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

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

This div border color is #152559.


Opacity

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

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

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

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

This text has shadow with #152559 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #152559 on black background.


Color preview on white background

This text has color #152559 on white background.



Black color preview on #152559 background

This text has black color on #152559 background.


White color preview on #152559 background

This text has white color on #152559 background.