CSS & Design

Neumorphism Generator

Create soft UI / neumorphic CSS effects with light direction, shapes, and component presets.

#e0e5ec

Shape

Light Direction

Distance8px
Blur16px
Intensity15%
Border Radius12px
Light: #ffffff
Dark: #b0bdcf

CSS

background: #e0e5ec;
border-radius: 12px;
box-shadow: 8px 8px 16px #b0bdcf, -8px -8px 16px #ffffff;

Component Presets

🔒 All CSS generation happens in your browser. Nothing is sent anywhere.

☕ Love this tool? Support the developer.

100% free — no ads, no limits. Your support keeps every tool free.

$

Secure payment via Stripe · No account needed

About Neumorphism Generator

OptiPix Neumorphism Generator creates the soft, extruded UI effect using CSS box-shadow. Set the background color (classic neumorphism gray #e0e5ec or any color), shadow distance, blur, intensity, and shape (flat, concave, convex, or pressed/inset). Choose the light direction from four corners. The tool automatically computes matching light and dark shadow colors from your background color. Preview the element on a matching background (neumorphism requires element and background to share the same color). Choose from component presets: button, pressed button, card, input field, toggle switch, and circle. Copy the generated CSS. Everything runs locally in your browser.

How It Works

The tool takes the background color and computes a lighter and darker variant using HSL manipulation. These become the two box-shadow colors, offset in the chosen light direction. Flat shapes use standard box-shadow; concave/convex add a subtle gradient overlay; pressed uses inset shadows.

Use Cases

  • Design soft UI buttons and interactive elements
  • Create neumorphic card components for dashboards
  • Build soft input fields and form elements
  • Design neumorphic toggle switches and radio buttons
  • Experiment with neumorphic design for app prototypes

Frequently Asked Questions

What is neumorphism?
Neumorphism (or soft UI) is a design style where elements appear to extrude from or press into the background using light and dark shadows on a matching background color.
How are the shadow colors calculated?
The tool lightens the background color for the light shadow and darkens it for the dark shadow. The intensity slider controls how strong the contrast is.
What shapes are available?
Flat (default raised), Concave (inward curve via gradient), Convex (outward curve via gradient), and Pressed (inset shadows for a pushed-in appearance).
Why must the background color match the element?
Neumorphism relies on shadows that blend with the background. If the element and background colors differ, the illusion breaks and shadows become visible as distinct outlines.
Is any data sent to a server?
No. The tool generates CSS strings locally in your browser.

Related Tools

All 102 Tools

Image CompressorBackground RemoverVideo CompressorImage UpscalerOCR Text ExtractorFormat ConverterImage ResizerEXIF RemoverFace BlurDepth EstimationQR Code GeneratorWatermark MakerColor Palette ExtractorPhoto FiltersImage to PDFObject DetectionImage ClassifierImage CaptionerAI Image GeneratorMeme GeneratorGIF MakerPhoto Collage MakerImage CropPhoto EffectsImage to SVGColor ChangerNoise RemoverPhoto RestorationColor PickerFavicon GeneratorImage to Base64Image Metadata ViewerImage AnnotatorPassport Photo MakerDocument ScannerASCII Art GeneratorImage ComparisonSprite Sheet GeneratorObject RemoverPanorama MakerWord CounterCase ConverterLorem Ipsum GeneratorUUID GeneratorUnix Timestamp ConverterText DiffURL Encoder / DecoderHTML Entity Encoder / DecoderBase64 Text Encoder / DecoderText to Binary / Hex / OctalHash GeneratorJSON Formatter / ValidatorRandom String GeneratorCSV ↔ JSON ConverterMarkdown EditorUnit ConverterPercentage CalculatorBMI CalculatorAge CalculatorTip CalculatorCSS Gradient GeneratorCSS Box Shadow GeneratorCSS Border Radius GeneratorGlassmorphism GeneratorNeumorphism GeneratorCSS Text Shadow GeneratorFlexbox PlaygroundCSS Grid GeneratorAudio TrimmerAudio ConverterAudio MergerAudio RecorderVideo to Audio ExtractorAudio Speed ChangerAudio Volume BoosterRingtone MakerVocal RemoverText to SpeechSpeech to TextAudio Noise RemoverAudio EqualizerAudio EffectsVideo TrimmerVideo MergerVideo ResizerVideo Speed ChangerVideo RotatorVideo to MP4 ConverterAdd Music to VideoMute VideoVideo LooperReverse VideoVideo ScreenshotAdd Subtitles to VideoVideo WatermarkScreen RecorderWebcam RecorderSlideshow MakerVideo FiltersCron Expression BuilderRegex TesterUnix Timestamp Converter