COLOR #042128

HEX: #042128
RGB: (4,33,40)

Color info

#042128 contains red, green and blue colors in about the same proportion. Web safe color of #042128 is #003333 (or #033).

RGB color model

#042128 color RGB value is (4,33,40).

  • red value is 4;
  • green value is 33;
  • blue value is 40.
RGB:
(4,33,40)
(2%,13%,16%)

RGB channels and saturation

R 4 of 255 = 2%
G 33 of 255 = 13%
B 40 of 255 = 16%

4
33
40

R + G + B ~ 10%. #042128 is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 33 + 40 = 77 (100%)
R 4 of 77 ~ 5.19%
G 33 of 77 ~ 42.86%
B 40 of 77 ~ 51.95%

%42.86
%51.95

CMYK color model

#042128 color CMYK value is (90,18,0,84).

  • cyan value is 90.00%
  • magenta value is 17.50%
  • yellow value is 0.00%
  • key color value is 84.31%
CMYK:
(90,18,0,84)
C90M18Y0K84 
(90%,18%,0%,84%)
(0.90/0.18/0.00/0.84)	

CMYK percentages

%90
%17.5
%0
%84.31

Codes

Color #042128 in popluar color models

042128
RGB43340
HSL192°81.82%8.63%
HSB/HSV192°90.00%15.69%
CMYK90.00%17.50%0.00%
84.31%

Color #042128 in popluar number systems.

HEX042128
Decimal43340
Binary100100001101000
Octal44150

Shades and tints

Shades of #042128

#042128
(4,33,40)
#041E25
(4,30,37)
#041B22
(4,27,34)
#04181F
(4,24,31)
#04151C
(4,21,28)
#041219
(4,18,25)
#040F16
(4,15,22)
#040C13
(4,12,19)
#040910
(4,9,16)
#04060D
(4,6,13)
#04030A
(4,3,10)
#000000
(0,0,0)

Tints of #042128

#042128
(4,33,40)
#1A353B
(26,53,59)
#30494E
(48,73,78)
#465D61
(70,93,97)
#5C7174
(92,113,116)
#728587
(114,133,135)
#88999A
(136,153,154)
#9EADAD
(158,173,173)
#B4C1C0
(180,193,192)
#CAD5D3
(202,213,211)
#E0E9E6
(224,233,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #042128 color. Also use rgb(4,33,40) instead hex code.

Text Font Color

.myTextColor { color: #042128; }

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

This text font color is #042128.


Background Color

.myBgColor { background-color: #042128; }

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

This div background color is #042128.


Border color

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

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

This div border color is #042128.


Opacity

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

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

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

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

This text has shadow with #042128 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #042128 on black background.


Color preview on white background

This text has color #042128 on white background.



Black color preview on #042128 background

This text has black color on #042128 background.


White color preview on #042128 background

This text has white color on #042128 background.