Border Generator

Your workspaceProcessed on your device

Border preview

Declared size 144 × 76 px.

Border edges
Box geometry

Generated stylesheet

#7D9065rgb(125, 144, 101)

Preview composited on white. HEX stores alpha in 8 bits; decimal alpha is retained in RGB and HSL.

HEX#7D9065
RGBrgb(125, 144, 101)
HSLhsl(86.512 17.551% 48.039%)
RGB percentrgb(49.02% 56.471% 39.608%)
Normalized RGBA0.4902, 0.5647, 0.3961, 1
CSS variable--color: #7D9065;

Color names use standard CSS keywords, such as red or rebeccapurple.

A few things to know.

Border widths range from 0 to 18 px. The one-value corner radius ranges from 0 to 80 px. Colors accept CSS names and numeric sRGB HEX, RGB and HSL. The preview has a declared size of 144 × 76 px.

  1. Keep Link all edges selected for a uniform stroke, or turn it off and select Top, Right, Bottom or Left.
  2. Choose a width, line pattern and color. Set Corner radius and compare the measured size for Content box and Border box.
  3. Copy or download the generated stylesheet. Use its border class on the box you want to style.