COLOR #051828

HEX: #051828
RGB: (5,24,40)

Color info

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

RGB color model

#051828 color RGB value is (5,24,40).

  • red value is 5;
  • green value is 24;
  • blue value is 40.
RGB:
(5,24,40)
(2%,9%,16%)

RGB channels and saturation

R 5 of 255 = 2%
G 24 of 255 = 9%
B 40 of 255 = 16%

5
24
40

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

Portions of RGB colors in percentages

R + G + B =
5 + 24 + 40 = 69 (100%)
R 5 of 69 ~ 7.25%
G 24 of 69 ~ 34.78%
B 40 of 69 ~ 57.97%

%34.78
%57.97

CMYK color model

#051828 color CMYK value is (88,40,0,84).

  • cyan value is 87.50%
  • magenta value is 40.00%
  • yellow value is 0.00%
  • key color value is 84.31%
CMYK:
(88,40,0,84)
C88M40Y0K84 
(88%,40%,0%,84%)
(0.88/0.40/0.00/0.84)	

CMYK percentages

%87.5
%40
%0
%84.31

Codes

Color #051828 in popluar color models

051828
RGB52440
HSL207°77.78%8.82%
HSB/HSV207°87.50%15.69%
CMYK87.50%40.00%0.00%
84.31%

Color #051828 in popluar number systems.

HEX051828
Decimal52440
Binary10111000101000
Octal53050

Shades and tints

Shades of #051828

#051828
(5,24,40)
#051625
(5,22,37)
#051422
(5,20,34)
#05121F
(5,18,31)
#05101C
(5,16,28)
#050E19
(5,14,25)
#050C16
(5,12,22)
#050A13
(5,10,19)
#050810
(5,8,16)
#05060D
(5,6,13)
#05040A
(5,4,10)
#000000
(0,0,0)

Tints of #051828

#051828
(5,24,40)
#1B2D3B
(27,45,59)
#31424E
(49,66,78)
#475761
(71,87,97)
#5D6C74
(93,108,116)
#738187
(115,129,135)
#89969A
(137,150,154)
#9FABAD
(159,171,173)
#B5C0C0
(181,192,192)
#CBD5D3
(203,213,211)
#E1EAE6
(225,234,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #051828; }

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

This text font color is #051828.


Background Color

.myBgColor { background-color: #051828; }

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

This div background color is #051828.


Border color

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

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

This div border color is #051828.


Opacity

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

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

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

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

This text has shadow with #051828 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #051828 on black background.


Color preview on white background

This text has color #051828 on white background.



Black color preview on #051828 background

This text has black color on #051828 background.


White color preview on #051828 background

This text has white color on #051828 background.