COLOR #150828

HEX: #150828
RGB: (21,8,40)

Color info

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

RGB color model

#150828 color RGB value is (21,8,40).

  • red value is 21;
  • green value is 8;
  • blue value is 40.
RGB:
(21,8,40)
(8%,3%,16%)

RGB channels and saturation

R 21 of 255 = 8%
G 8 of 255 = 3%
B 40 of 255 = 16%

21
8
40

R + G + B ~ 9%. #150828 is dark color.

Portions of RGB colors in percentages

R + G + B =
21 + 8 + 40 = 69 (100%)
R 21 of 69 ~ 30.43%
G 8 of 69 ~ 11.59%
B 40 of 69 ~ 57.97%

%30.43
%11.59
%57.97

CMYK color model

#150828 color CMYK value is (48,80,0,84).

  • cyan value is 47.50%
  • magenta value is 80.00%
  • yellow value is 0.00%
  • key color value is 84.31%
CMYK:
(48,80,0,84)
C48M80Y0K84 
(48%,80%,0%,84%)
(0.48/0.80/0.00/0.84)	

CMYK percentages

%47.5
%80
%0
%84.31

Codes

Color #150828 in popluar color models

150828
RGB21840
HSL264°66.67%9.41%
HSB/HSV264°80.00%15.69%
CMYK47.50%80.00%0.00%
84.31%

Color #150828 in popluar number systems.

HEX150828
Decimal21840
Binary101011000101000
Octal251050

Shades and tints

Shades of #150828

#150828
(21,8,40)
#140825
(20,8,37)
#130822
(19,8,34)
#12081F
(18,8,31)
#11081C
(17,8,28)
#100819
(16,8,25)
#0F0816
(15,8,22)
#0E0813
(14,8,19)
#0D0810
(13,8,16)
#0C080D
(12,8,13)
#0B080A
(11,8,10)
#000000
(0,0,0)

Tints of #150828

#150828
(21,8,40)
#2A1E3B
(42,30,59)
#3F344E
(63,52,78)
#544A61
(84,74,97)
#696074
(105,96,116)
#7E7687
(126,118,135)
#938C9A
(147,140,154)
#A8A2AD
(168,162,173)
#BDB8C0
(189,184,192)
#D2CED3
(210,206,211)
#E7E4E6
(231,228,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #150828; }

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

This text font color is #150828.


Background Color

.myBgColor { background-color: #150828; }

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

This div background color is #150828.


Border color

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

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

This div border color is #150828.


Opacity

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

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

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

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

This text has shadow with #150828 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #150828 on black background.


Color preview on white background

This text has color #150828 on white background.



Black color preview on #150828 background

This text has black color on #150828 background.


White color preview on #150828 background

This text has white color on #150828 background.