COLOR #240C41

HEX: #240C41
RGB: (36,12,65)

Color info

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

RGB color model

#240C41 color RGB value is (36,12,65).

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

RGB channels and saturation

R 36 of 255 = 14%
G 12 of 255 = 5%
B 65 of 255 = 25%

36
12
65

R + G + B ~ 15%. #240C41 is dark color.

Portions of RGB colors in percentages

R + G + B =
36 + 12 + 65 = 113 (100%)
R 36 of 113 ~ 31.86%
G 12 of 113 ~ 10.62%
B 65 of 113 ~ 57.52%

%31.86
%10.62
%57.52

CMYK color model

#240C41 color CMYK value is (45,82,0,75).

  • cyan value is 44.62%
  • magenta value is 81.54%
  • yellow value is 0.00%
  • key color value is 74.51%
CMYK:
(45,82,0,75)
C45M82Y0K75 
(45%,82%,0%,75%)
(0.45/0.82/0.00/0.75)	

CMYK percentages

%44.62
%81.54
%0
%74.51

Codes

Color #240C41 in popluar color models

240C41
RGB361265
HSL267°68.83%15.10%
HSB/HSV267°81.54%25.49%
CMYK44.62%81.54%0.00%
74.51%

Color #240C41 in popluar number systems.

HEX240C41
Decimal361265
Binary10010011001000001
Octal4414101

Shades and tints

Shades of #240C41

#240C41
(36,12,65)
#210B3C
(33,11,60)
#1E0A37
(30,10,55)
#1B0932
(27,9,50)
#18082D
(24,8,45)
#150728
(21,7,40)
#120623
(18,6,35)
#0F051E
(15,5,30)
#0C0419
(12,4,25)
#090314
(9,3,20)
#06020F
(6,2,15)
#000000
(0,0,0)

Tints of #240C41

#240C41
(36,12,65)
#372252
(55,34,82)
#4A3863
(74,56,99)
#5D4E74
(93,78,116)
#706485
(112,100,133)
#837A96
(131,122,150)
#9690A7
(150,144,167)
#A9A6B8
(169,166,184)
#BCBCC9
(188,188,201)
#CFD2DA
(207,210,218)
#E2E8EB
(226,232,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #240C41; }

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

This text font color is #240C41.


Background Color

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

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

This div background color is #240C41.


Border color

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

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

This div border color is #240C41.


Opacity

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

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

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

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

This text has shadow with #240C41 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #240C41 on black background.


Color preview on white background

This text has color #240C41 on white background.



Black color preview on #240C41 background

This text has black color on #240C41 background.


White color preview on #240C41 background

This text has white color on #240C41 background.