css create a darker shade of a color code example Example: hover apply lighter color css .myElement:hover { filter: brightness(150%); }