COLOR #001242

HEX: #001242
RGB: (0,18,66)

Color info

#001242 contains only green and blue colors. Web safe color of #001242 is #000033 (or #003).

RGB color model

#001242 color RGB value is (0,18,66).

  • red value is 0;
  • green value is 18;
  • blue value is 66.
RGB:
(0,18,66)
(0%,7%,26%)

RGB channels and saturation

R 0 of 255 = 0%
G 18 of 255 = 7%
B 66 of 255 = 26%

0
18
66

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

Portions of RGB colors in percentages

R + G + B =
0 + 18 + 66 = 84 (100%)
R 0 of 84 ~ 0%
G 18 of 84 ~ 21.43%
B 66 of 84 ~ 78.57%

%21.43
%78.57

CMYK color model

#001242 color CMYK value is (100,73,0,74).

  • cyan value is 100.00%
  • magenta value is 72.73%
  • yellow value is 0.00%
  • key color value is 74.12%
CMYK:
(100,73,0,74)
C100M73Y0K74 
(100%,73%,0%,74%)
(1.00/0.73/0.00/0.74)	

CMYK percentages

%100
%72.73
%0
%74.12

Codes

Color #001242 in popluar color models

001242
RGB01866
HSL224°100.00%12.94%
HSB/HSV224°100.00%25.88%
CMYK100.00%72.73%0.00%
74.12%

Color #001242 in popluar number systems.

HEX001242
Decimal01866
Binary0100101000010
Octal022102

Shades and tints

Shades of #001242

#001242
(0,18,66)
#00113C
(0,17,60)
#001036
(0,16,54)
#000F30
(0,15,48)
#000E2A
(0,14,42)
#000D24
(0,13,36)
#000C1E
(0,12,30)
#000B18
(0,11,24)
#000A12
(0,10,18)
#00090C
(0,9,12)
#000806
(0,8,6)
#000000
(0,0,0)

Tints of #001242

#001242
(0,18,66)
#172753
(23,39,83)
#2E3C64
(46,60,100)
#455175
(69,81,117)
#5C6686
(92,102,134)
#737B97
(115,123,151)
#8A90A8
(138,144,168)
#A1A5B9
(161,165,185)
#B8BACA
(184,186,202)
#CFCFDB
(207,207,219)
#E6E4EC
(230,228,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #001242 color. Also use rgb(0,18,66) instead hex code.

Text Font Color

.myTextColor { color: #001242; }

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

This text font color is #001242.


Background Color

.myBgColor { background-color: #001242; }

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

This div background color is #001242.


Border color

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

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

This div border color is #001242.


Opacity

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

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

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

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

This text has shadow with #001242 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #001242 on black background.


Color preview on white background

This text has color #001242 on white background.



Black color preview on #001242 background

This text has black color on #001242 background.


White color preview on #001242 background

This text has white color on #001242 background.