COLOR #02040F

HEX: #02040F RGB: (2,4,15)

Color info

#02040F contains red, green and blue colors in about the same proportion. Web safe color of #02040F is #000000 (or #000).

RGB color model

#02040F color RGB value is (2,4,15).

RGB: (2,4,15) (1%, 2%, 6%)

RGB channels and saturation

R 2 of 255 = 1%
G 4 of 255 = 2%
B 15 of 255 = 6%

2
4
15

R + G + B ~ 3%. #02040F is dark color.

Portions of RGB colors in percentages

R + G + B = 2 + 4 + 15 = 21 (100%)
R 2 of 21 ~ 9.52%
G 4 of 21 ~ 19.05%
B 15 of 21 ~ 71.43'%

%19.05
%71.43

CMYK color model

#02040F color CMYK value is (87,73,0,94).

  • cyan value is 86.67%
  • magenta value is 73.33%
  • yellow value is 0.00%
  • key color value is 94.12%

CMYK: (87,73,0,94)
C87M73Y0K94 (87%, 73%, 0%, 94%)
(0.87 / 0.73 / 0.00 / 0.94)

CMYK percentages

%86.67
%73.33
%0
%94.12

Codes

Color #02040F in popluar color models

02 04 0F
RGB 2 4 15
HSL 231° 76.47% 3.33%
HSB/HSV 231° 86.67% 5.88%
CMYK 86.67% 73.33% 0.00%
94.12%

Color #02040F in popluar number systems.

HEX 02 04 0F
Decimal 2 4 15
Binary 10 100 1111
Octal 2 4 17

Shades and tints

Shades of #02040F

#02040F
(2,4,15)
#02040E
(2,4,14)
#02040D
(2,4,13)
#02040C
(2,4,12)
#02040B
(2,4,11)
#02040A
(2,4,10)
#020409
(2,4,9)
#020408
(2,4,8)
#020407
(2,4,7)
#020406
(2,4,6)
#020405
(2,4,5)
#000000
(0,0,0)

Tints of #02040F

#02040F
(2,4,15)
#191A24
(25,26,36)
#303039
(48,48,57)
#47464E
(71,70,78)
#5E5C63
(94,92,99)
#757278
(117,114,120)
#8C888D
(140,136,141)
#A39EA2
(163,158,162)
#BAB4B7
(186,180,183)
#D1CACC
(209,202,204)
#E8E0E1
(232,224,225)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #02040F color. Also use rgb(2,4,15) instead hex code.

Text Font Color

.myTextColor { color: #02040F; }

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

This text font color is #02040F.

Background Color

.myBgColor { background-color: #02040F; }

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

This div background color is #02040F.

Border color

.myBorderColor { border: 1px solid #02040F; }

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

This div border color is #02040F.

Opacity

.myOpacity80 { color: #02040F; opacity: 0.8; }

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

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

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

This text has shadow with #02040F color.


.textShadow {text-shadow: 3px 3px 1px #02040F', 3px 3px 1px red;}

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

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


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

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

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

Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #02040F; -webkit-box-shadow: 1px 1px 3px 2px #02040F; box-shadow:1px 1px 3px 2px #02040F;">
Div content here
</div>

This div box has shadow with color #02040F.

Preview

Color preview on black background

This text has color #02040F on black background.


Color preview on white background

This text has color #02040F on white background.


Black color preview on #02040F background

This text has black color on #02040F background.


White color preview on #02040F background

This text has white color on #02040F background.


Related colors

Complementary color

Complementary color for #hex is #FDFBF0.


I love getcolorcode.com

Triadic colors

1 #0F0204 and #040F02 with #02040F are triadic colors.

2 #0F0402 and #04020F with #02040F are triadic colors.