COLOR #152857

HEX: #152857 RGB: (21,40,87)

Color info

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

RGB color model

#152857 color RGB value is (21,40,87).

RGB: (21,40,87) (8%, 16%, 34%)

RGB channels and saturation

R 21 of 255 = 8%
G 40 of 255 = 16%
B 87 of 255 = 34%

21
40
87

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

Portions of RGB colors in percentages

R + G + B = 21 + 40 + 87 = 148 (100%)
R 21 of 148 ~ 14.19%
G 40 of 148 ~ 27.03%
B 87 of 148 ~ 58.78'%

%14.19
%27.03
%58.78

CMYK color model

#152857 color CMYK value is (76,54,0,66).

  • cyan value is 75.86%
  • magenta value is 54.02%
  • yellow value is 0.00%
  • key color value is 65.88%

CMYK: (76,54,0,66)
C76M54Y0K66 (76%, 54%, 0%, 66%)
(0.76 / 0.54 / 0.00 / 0.66)

CMYK percentages

%75.86
%54.02
%0
%65.88

Codes

Color #152857 in popluar color models

15 28 57
RGB 21 40 87
HSL 223° 61.11% 21.18%
HSB/HSV 223° 75.86% 34.12%
CMYK 75.86% 54.02% 0.00%
65.88%

Color #152857 in popluar number systems.

HEX 15 28 57
Decimal 21 40 87
Binary 10101 101000 1010111
Octal 25 50 127

Shades and tints

Shades of #152857

#152857
(21,40,87)
#142550
(20,37,80)
#132249
(19,34,73)
#121F42
(18,31,66)
#111C3B
(17,28,59)
#101934
(16,25,52)
#0F162D
(15,22,45)
#0E1326
(14,19,38)
#0D101F
(13,16,31)
#0C0D18
(12,13,24)
#0B0A11
(11,10,17)
#000000
(0,0,0)

Tints of #152857

#152857
(21,40,87)
#2A3B66
(42,59,102)
#3F4E75
(63,78,117)
#546184
(84,97,132)
#697493
(105,116,147)
#7E87A2
(126,135,162)
#939AB1
(147,154,177)
#A8ADC0
(168,173,192)
#BDC0CF
(189,192,207)
#D2D3DE
(210,211,222)
#E7E6ED
(231,230,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #152857 color. Also use rgb(21,40,87) instead hex code.

Text Font Color

.myTextColor { color: #152857; }

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

This text font color is #152857.

Background Color

.myBgColor { background-color: #152857; }

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

This div background color is #152857.

Border color

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

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

This div border color is #152857.

Opacity

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

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

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

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

This text has shadow with #152857 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #152857.

Preview

Color preview on black background

This text has color #152857 on black background.


Color preview on white background

This text has color #152857 on white background.


Black color preview on #152857 background

This text has black color on #152857 background.


White color preview on #152857 background

This text has white color on #152857 background.


Related colors

Complementary color

Complementary color for #hex is #EAD7A8.


I love getcolorcode.com

Triadic colors

1 #571528 and #285715 with #152857 are triadic colors.

2 #572815 and #281557 with #152857 are triadic colors.