COLOR #151828

HEX: #151828 RGB: (21,24,40)

Color info

#151828 contains red, green and blue colors in about the same proportion. Web safe color of #151828 is #000033 (or #003).

RGB color model

#151828 color RGB value is (21,24,40).

RGB: (21,24,40) (8%, 9%, 16%)

RGB channels and saturation

R 21 of 255 = 8%
G 24 of 255 = 9%
B 40 of 255 = 16%

21
24
40

R + G + B ~ 11%. #151828 is dark color.

Portions of RGB colors in percentages

R + G + B = 21 + 24 + 40 = 85 (100%)
R 21 of 85 ~ 24.71%
G 24 of 85 ~ 28.24%
B 40 of 85 ~ 47.06'%

%24.71
%28.24
%47.06

CMYK color model

#151828 color CMYK value is (48,40,0,84).

  • cyan value is 47.50%
  • magenta value is 40.00%
  • yellow value is 0.00%
  • key color value is 84.31%

CMYK: (48,40,0,84)
C48M40Y0K84 (48%, 40%, 0%, 84%)
(0.48 / 0.40 / 0.00 / 0.84)

CMYK percentages

%47.5
%40
%0
%84.31

Codes

Color #151828 in popluar color models

15 18 28
RGB 21 24 40
HSL 231° 31.15% 11.96%
HSB/HSV 231° 47.50% 15.69%
CMYK 47.50% 40.00% 0.00%
84.31%

Color #151828 in popluar number systems.

HEX 15 18 28
Decimal 21 24 40
Binary 10101 11000 101000
Octal 25 30 50

Shades and tints

Shades of #151828

#151828
(21,24,40)
#141625
(20,22,37)
#131422
(19,20,34)
#12121F
(18,18,31)
#11101C
(17,16,28)
#100E19
(16,14,25)
#0F0C16
(15,12,22)
#0E0A13
(14,10,19)
#0D0810
(13,8,16)
#0C060D
(12,6,13)
#0B040A
(11,4,10)
#000000
(0,0,0)

Tints of #151828

#151828
(21,24,40)
#2A2D3B
(42,45,59)
#3F424E
(63,66,78)
#545761
(84,87,97)
#696C74
(105,108,116)
#7E8187
(126,129,135)
#93969A
(147,150,154)
#A8ABAD
(168,171,173)
#BDC0C0
(189,192,192)
#D2D5D3
(210,213,211)
#E7EAE6
(231,234,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #151828; }

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

This text font color is #151828.

Background Color

.myBgColor { background-color: #151828; }

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

This div background color is #151828.

Border color

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

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

This div border color is #151828.

Opacity

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

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

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

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

This text has shadow with #151828 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #151828.

Preview

Color preview on black background

This text has color #151828 on black background.


Color preview on white background

This text has color #151828 on white background.


Black color preview on #151828 background

This text has black color on #151828 background.


White color preview on #151828 background

This text has white color on #151828 background.


Related colors

Complementary color

Complementary color for #hex is #EAE7D7.


I love getcolorcode.com

Triadic colors

1 #281518 and #182815 with #151828 are triadic colors.

2 #281815 and #181528 with #151828 are triadic colors.