Bytepliers CSS & Design tools: colors, gradients, shadows, grid
Reference for the 8 Bytepliers CSS & Design tools: Color Converter, Color Shades, CSS Gradient, Box Shadow, Flexbox Playground, CSS Grid, Easing Editor and CSS Units.
Updated 4 min read
On this page
The CSS & Design group holds CSS builders and color tools. For the other groups, see the Bytepliers tools list.
| Tool | Id | Subtitle |
|---|---|---|
| Color Converter | color | HEX, RGB, HSL and HSB with a live swatch |
| CSS Gradient | cssGradient | Linear, radial and conic gradients with live preview |
| Box Shadow | boxShadow | Layered box-shadow builder with preview |
| Flexbox Playground | flexbox | Build flex layouts visually and copy the CSS |
| CSS Grid | cssGrid | Grid template builder with named areas |
| Easing Editor | cubicBezier | Cubic-bezier timing curves with a live preview |
| CSS Units | cssUnits | px, rem, em, pt, vw and % conversions |
| Color Shades | colorShades | Tints, shades and 50–950 scales from one colour |
How the builders work
CSS Gradient, Box Shadow, Flexbox Playground, CSS Grid and Easing Editor are visual builders:
- Two-way code: change a control and the CSS is rewritten. Type or paste CSS into the code pane and the controls follow. If the CSS can't be read, the status line says why and the controls stay as they were.
- Code tabs: the editable CSS tab, plus read-only tabs such as Tailwind or SwiftUI where the tool offers them. ⇧⌘C copies the tab you're looking at.
- Presets: each builder has a Presets menu.
- Limit: 200 KB of CSS in the code pane.
- Previews are static: nothing animates unless you press Play in the Easing Editor.
Color Converter
Id color.


- Accepts: hex (
#rgb,#rrggbb,#rrggbbaa,0x…or bare),rgb(),hsl(),hsb()/hsv(),oklch(),oklab(),color(display-p3 …)and CSS color names. - Pick: opens a color picker with an eyedropper.
- Formats tab: HEX, RGB, HSL, HSB, SwiftUI, NSColor and the nearest Tailwind v3 color, plus contrast on white and on black rated AAA, AA, AA Large or Fail.
- Code tab: UIColor, Objective-C, Android XML and Java/Kotlin, Jetpack Compose, Flutter, .NET, Java AWT, CSS oklch() and CSS display-p3.
- Simulate: shows the color as seen with Protanopia, Deuteranopia, Tritanopia and Achromatopsia.
CSS Gradient
Id cssGradient. New in 1.1.
- Type: Linear (default, 90°), Radial (ellipse or circle, with a centre) or Conic. Repeating makes the repeating variant.
- Stops: drag the handles on the stop bar, click the bar to add a stop, and delete stops down to a minimum of two.
- Options menu: Solid Fallback Colour (off), Reverse Stops and Distribute Stops Evenly.
- Code tabs: CSS and Tailwind.
- Limits: stop positions must be percentages; px stops are rejected with an error. Colour hints are ignored.
Box Shadow
Id boxShadow. New in 1.1.
- Layers: up to 8, each with x and y offset, blur, spread, colour, opacity and Inset. Right-click a layer for Duplicate, Move Up, Move Down and Delete.
- Elevation Presets menu.
- Preview: cards on a light and a dark background, with an adjustable corner radius (12 by default).
- Code tabs: CSS, Tailwind and SwiftUI.
Flexbox Playground
Id flexbox. New in 1.1.
- Container: direction, wrap, justify-content, align-items, align-content and gap.
- Items: 1 to 12 boxes. Click a box to set its order, grow, shrink, flex-basis and align-self; Reset restores an item.
- Code tabs: CSS and Tailwind.
- Limit: the preview is a simplified flexbox: no min-content or max-content sizing, and baseline alignment is drawn as flex-start.
CSS Grid
Id cssGrid. New in 1.1.
- Tracks: add, remove and size columns and rows, with a menu to set every track at once. Gaps are adjustable.
- Named areas: type an area name, then drag across cells to paint it. The eraser clears cells; Clear Areas removes
grid-template-areas. An area that isn't a rectangle is outlined in red with an error. - Code: CSS only.
- Limit:
repeat(auto-fill, …)andrepeat(auto-fit, …)are kept as written, and the preview shows 4 columns for them.
Easing Editor
Id cubicBezier. New in 1.1.
- Curve: drag the two control points (they can overshoot the square) or type the numbers.
- Presets: CSS keywords, Material, Apple spring approximations and expressive curves.
- Play (⇧⌘P) moves a dot along the curve once. It respects Reduce Motion.
- Duration: 0.6 s by default, used by the SwiftUI and Transition outputs.
- Code tabs: CSS, SwiftUI, Core Animation, Transition and Tailwind.
CSS Units
Id cssUnits. New in 1.1.
- Modes: Batch px → rem (default) rewrites every px value in a stylesheet as rem. Convert Value shows one length in px, rem, em, pt, pc, in, cm, mm, vw, vh, vmin, vmax and %. Pasting a single length switches to Convert Value; pasting CSS switches to Batch.
- Root: the root font size, 16 px by default.
- Options menu: Parent Font Size 12 to 24 px (default 16), Viewport 375 × 812 to 1920 × 1080 (default 1440 × 900), Decimal Places 2 to 5 (default 4), Keep 1px Hairlines (on) and Skip @media Queries (on).
- Percent:
%is a percentage of the parent font size.
Color Shades
Id colorShades. New in 1.1.
- Input: one base colour, typed or pasted with Paste.
- Set: 50–950 (default, an OKLCH-based scale like Tailwind v4's), Tints, Shades, Tones or Harmony.
- Options: Pin Input at 500 (off) for the scale; Steps 3 to 20 (default 9) for tints, shades and tones; Harmony Complementary (default), Analogous, Triadic, Split Complementary or Tetradic.
- Copy: click a swatch to copy its colour.
- Export: CSS Variables (default), Tailwind v3 Config, Tailwind v4
@theme, Swift Color or JSON, using a token name (brandby default).
Related
- Bytepliers tools list
- Format tools (SCSS / LESS)
- Images tools (Palette Extractor)