Skip to content

strokes

Stroke color.

Type(s)

TypeExample
string"#FF6600" (HEX)
"#FF6600FF" (HEXA)
"rgb(255, 102, 0)" (RGB)
"rgba(255, 102, 0, 1)" (RGBA)
"hsla(24, 100%, 50%, 1)" (HSLA)
"hsb(24, 100%, 100%)" (HSB)
"oklch(0.7 0.15 50 / 1)" (OKLCH)
"oklab(0.7 0.1 0.1 / 1)" (OKLAB)
ColorObjectcolorSpace: srgb
components: [1, 0.4, 0]
TokenReference$token: DS.Color.Border.Default
$type: color
GradientValuetype: LINEAR
angle: 180
stops: [...]
nullnull

Supported on

ElementFigma Layer(s)
containerComponent, Frame, Instance, Slot
vectorsRectangle, Vector, Ellipse, Star, Polygon
lineLine

Source

FormatFile
TypeScriptpackages/schema/types/Styles.ts
JSON Schemapackages/schema/schema/styles.schema.json