About the CSS Text Shadow Generator
The CSS Text Shadow Generator builds CSS shadows visually. A shadow is defined by its horizontal and vertical offsets, its blur radius, its spread, and its color. Soft, large-blur shadows with low-opacity colors look like natural light; hard, small shadows look graphic and retro.
Match the shadow to a light direction and keep it consistent across the whole interface β every element should appear lit from the same side. Shadows also communicate elevation: the larger and softer the shadow, the higher the element feels above the page.
Example
Start from the brand color #5B4BFF β that is rgb(91, 75, 255) or hsl(245, 100%, 65%). Load it in the tool above and you will see every value, preview and export update around it. Swap in your own project color and repeat the same steps.