text hover smooth css lighten color code example Example: hover apply lighter color css .myElement:hover { filter: brightness(150%); }