color
HTML hues are determined utilizing predefined shading names, or RGB, HEX,RGBA.
Foundation/Background Color
You can set the foundation shading for HTML components:
Content/text Color
You can set the shade of content:Fringe/border Color
You can set the shade of fringes:Shading/color Values
In HTML, hues can likewise be indicated utilizing RGB esteems, HEX esteems, RGBA esteems:
Same as shading name "red":
rgb(255, 99, 71)
#ff6347
Same as shading name "red", however half straightforward:
rgba(255, 99, 71, 0.5)
RGB Value
In HTML, a shading can be indicated as a RGB esteem, utilizing this equation:
rgb(red, green, blue)
Every parameter (red, green, and blue) characterizes the force of the shading in the vicinity of 0 and 255.
For instance, rgb(255, 0, 0) is shown as red, since red is set to its most noteworthy esteem (255) and the others are set to 0.
To show the shading dark, every single shading parameter must be set to 0, similar to this: rgb(0, 0, 0).
To show the shading white, every shading parameter must be set to 255, similar to this: rgb(255, 255, 255).
HEX Value
In HTML, a shading can be determined utilizing a hexadecimal incentive in the frame:
#rrggbb
Where rr (red), gg (green) and bb (blue) are hexadecimal esteems in the vicinity of 00 and ff (same as decimal 0-255).
For instance, #ff0000 is shown as red, since red is set to its most astounding worth (ff) and the others
are set to the least esteem (00).




0 comments:
Post a Comment