HSL Color pallete reusable

    0

    0

    Assuming that the background color is red, the value for the first h2 would be red, the value for the second h2 would be green, the value for the third h2 would be blue, and the value for the fourth h2 would be yellow.

    <h2 style="background-color: hsl(220deg 90% 10% / 100%);"></h2>
    <h2 style="background-color: hsl(220deg 70% 22% / 100%);"></h2>
    <h2 style="background-color: hsl(220deg 54% 36% / 100%);"></h2>
    <h2 style="background-color: hsl(220deg 50% 49% / 100%);"></h2>
    <h2 style="background-color: hsl(220deg 54% 62% / 100%);"></h2>
    <h2 style="background-color: hsl(220deg 70% 76% / 100%);"></h2>
    <h2 style="background-color: hsl(220deg 90% 89% / 100%);"></h2>
    
    <style> h2 {padding:2rem;}</style>
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.