COLOR #240C39

HEX: #240C39
RGB: (36,12,57)

Color info

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

RGB color model

#240C39 color RGB value is (36,12,57).

  • red value is 36;
  • green value is 12;
  • blue value is 57.
RGB:
(36,12,57)
(14%,5%,22%)

RGB channels and saturation

R 36 of 255 = 14%
G 12 of 255 = 5%
B 57 of 255 = 22%

36
12
57

R + G + B ~ 14%. #240C39 is dark color.

Portions of RGB colors in percentages

R + G + B =
36 + 12 + 57 = 105 (100%)
R 36 of 105 ~ 34.29%
G 12 of 105 ~ 11.43%
B 57 of 105 ~ 54.29%

%34.29
%11.43
%54.29

CMYK color model

#240C39 color CMYK value is (37,79,0,78).

  • cyan value is 36.84%
  • magenta value is 78.95%
  • yellow value is 0.00%
  • key color value is 77.65%
CMYK:
(37,79,0,78)
C37M79Y0K78 
(37%,79%,0%,78%)
(0.37/0.79/0.00/0.78)	

CMYK percentages

%36.84
%78.95
%0
%77.65

Codes

Color #240C39 in popluar color models

240C39
RGB361257
HSL272°65.22%13.53%
HSB/HSV272°78.95%22.35%
CMYK36.84%78.95%0.00%
77.65%

Color #240C39 in popluar number systems.

HEX240C39
Decimal361257
Binary1001001100111001
Octal441471

Shades and tints

Shades of #240C39

#240C39
(36,12,57)
#210B34
(33,11,52)
#1E0A2F
(30,10,47)
#1B092A
(27,9,42)
#180825
(24,8,37)
#150720
(21,7,32)
#12061B
(18,6,27)
#0F0516
(15,5,22)
#0C0411
(12,4,17)
#09030C
(9,3,12)
#060207
(6,2,7)
#000000
(0,0,0)

Tints of #240C39

#240C39
(36,12,57)
#37224B
(55,34,75)
#4A385D
(74,56,93)
#5D4E6F
(93,78,111)
#706481
(112,100,129)
#837A93
(131,122,147)
#9690A5
(150,144,165)
#A9A6B7
(169,166,183)
#BCBCC9
(188,188,201)
#CFD2DB
(207,210,219)
#E2E8ED
(226,232,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #240C39 color. Also use rgb(36,12,57) instead hex code.

Text Font Color

.myTextColor { color: #240C39; }

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

This text font color is #240C39.


Background Color

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

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

This div background color is #240C39.


Border color

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

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

This div border color is #240C39.


Opacity

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

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

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

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

This text has shadow with #240C39 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #240C39 on black background.


Color preview on white background

This text has color #240C39 on white background.



Black color preview on #240C39 background

This text has black color on #240C39 background.


White color preview on #240C39 background

This text has white color on #240C39 background.