Skip to content

CSS colors

  • Keywords

Resource to get color keywords: http://colours.neilorangepeel.com.

color: red;  
background-color: w;  
  • Hex values (case-sensitive): #000000
  • rgb: rgb(0, 0, 0)
  • rgba: rgba(0, 0, 0, 1) with alpha.
  • hsl: define a color by hue, saturation and lightness. hsl(270, 60%, 70%).
  • Hue is specified as angle, while saturation, and lightness are percentages.
  • https://css-tricks.com/examples/HSLaExplorer/
  • hsla: hsla(270, 60%, 70%, 0.7) with alpha.

Generate color palettes

https://coolors.co


Last update : August 14, 2023
Created : August 25, 2022

Comments

Comments