COLOR #240F1F

HEX: #240F1F
RGB: (36,15,31)

Color info

#240F1F contains red, green and blue colors in about the same proportion. Web safe color of #240F1F is #330033 (or #303).

RGB color model

#240F1F color RGB value is (36,15,31).

  • red value is 36;
  • green value is 15;
  • blue value is 31.
RGB:
(36,15,31)
(14%,6%,12%)

RGB channels and saturation

R 36 of 255 = 14%
G 15 of 255 = 6%
B 31 of 255 = 12%

36
15
31

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

Portions of RGB colors in percentages

R + G + B =
36 + 15 + 31 = 82 (100%)
R 36 of 82 ~ 43.9%
G 15 of 82 ~ 18.29%
B 31 of 82 ~ 37.8%

%43.9
%18.29
%37.8

CMYK color model

#240F1F color CMYK value is (0,58,14,86).

  • cyan value is 0.00%
  • magenta value is 58.33%
  • yellow value is 13.89%
  • key color value is 85.88%
CMYK:
(0,58,14,86)
C0M58Y14K86 
(0%,58%,14%,86%)
(0.00/0.58/0.14/0.86)	

CMYK percentages

%0
%58.33
%13.89
%85.88

Codes

Color #240F1F in popluar color models

240F1F
RGB361531
HSL314°41.18%10.00%
HSB/HSV314°58.33%14.12%
CMYK0.00%58.33%13.89%
85.88%

Color #240F1F in popluar number systems.

HEX240F1F
Decimal361531
Binary100100111111111
Octal441737

Shades and tints

Shades of #240F1F

#240F1F
(36,15,31)
#210E1D
(33,14,29)
#1E0D1B
(30,13,27)
#1B0C19
(27,12,25)
#180B17
(24,11,23)
#150A15
(21,10,21)
#120913
(18,9,19)
#0F0811
(15,8,17)
#0C070F
(12,7,15)
#09060D
(9,6,13)
#06050B
(6,5,11)
#000000
(0,0,0)

Tints of #240F1F

#240F1F
(36,15,31)
#372433
(55,36,51)
#4A3947
(74,57,71)
#5D4E5B
(93,78,91)
#70636F
(112,99,111)
#837883
(131,120,131)
#968D97
(150,141,151)
#A9A2AB
(169,162,171)
#BCB7BF
(188,183,191)
#CFCCD3
(207,204,211)
#E2E1E7
(226,225,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #240F1F color. Also use rgb(36,15,31) instead hex code.

Text Font Color

.myTextColor { color: #240F1F; }

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

This text font color is #240F1F.


Background Color

.myBgColor { background-color: #240F1F; }

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

This div background color is #240F1F.


Border color

.myBorderColor { border: 1px solid #240F1F; }

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

This div border color is #240F1F.


Opacity

.myOpacity80 { color: #240F1F; opacity: 0.8; }

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

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

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

This text has shadow with #240F1F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #240F1F on black background.


Color preview on white background

This text has color #240F1F on white background.



Black color preview on #240F1F background

This text has black color on #240F1F background.


White color preview on #240F1F background

This text has white color on #240F1F background.