COLOR #050C28

HEX: #050C28
RGB: (5,12,40)

Color info

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

RGB color model

#050C28 color RGB value is (5,12,40).

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

RGB channels and saturation

R 5 of 255 = 2%
G 12 of 255 = 5%
B 40 of 255 = 16%

5
12
40

R + G + B ~ 8%. #050C28 is dark color.

Portions of RGB colors in percentages

R + G + B =
5 + 12 + 40 = 57 (100%)
R 5 of 57 ~ 8.77%
G 12 of 57 ~ 21.05%
B 40 of 57 ~ 70.18%

%21.05
%70.18

CMYK color model

#050C28 color CMYK value is (88,70,0,84).

  • cyan value is 87.50%
  • magenta value is 70.00%
  • yellow value is 0.00%
  • key color value is 84.31%
CMYK:
(88,70,0,84)
C88M70Y0K84 
(88%,70%,0%,84%)
(0.88/0.70/0.00/0.84)	

CMYK percentages

%87.5
%70
%0
%84.31

Codes

Color #050C28 in popluar color models

050C28
RGB51240
HSL228°77.78%8.82%
HSB/HSV228°87.50%15.69%
CMYK87.50%70.00%0.00%
84.31%

Color #050C28 in popluar number systems.

HEX050C28
Decimal51240
Binary1011100101000
Octal51450

Shades and tints

Shades of #050C28

#050C28
(5,12,40)
#050B25
(5,11,37)
#050A22
(5,10,34)
#05091F
(5,9,31)
#05081C
(5,8,28)
#050719
(5,7,25)
#050616
(5,6,22)
#050513
(5,5,19)
#050410
(5,4,16)
#05030D
(5,3,13)
#05020A
(5,2,10)
#000000
(0,0,0)

Tints of #050C28

#050C28
(5,12,40)
#1B223B
(27,34,59)
#31384E
(49,56,78)
#474E61
(71,78,97)
#5D6474
(93,100,116)
#737A87
(115,122,135)
#89909A
(137,144,154)
#9FA6AD
(159,166,173)
#B5BCC0
(181,188,192)
#CBD2D3
(203,210,211)
#E1E8E6
(225,232,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #050C28; }

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

This text font color is #050C28.


Background Color

.myBgColor { background-color: #050C28; }

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

This div background color is #050C28.


Border color

.myBorderColor { border: 1px solid #050C28; }

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

This div border color is #050C28.


Opacity

.myOpacity80 { color: #050C28; opacity: 0.8; }

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

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

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

This text has shadow with #050C28 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #050C28 on black background.


Color preview on white background

This text has color #050C28 on white background.



Black color preview on #050C28 background

This text has black color on #050C28 background.


White color preview on #050C28 background

This text has white color on #050C28 background.