# Image Stroke The Image Stroke system allows you to add an outline to a vector or transparent raster images with customizable stroke width and color. This is useful for creating images that stand out against shaded backgrounds. ### Usage The Image Stroke system includes preset size modifiers that allow you to quickly apply different stroke widths to your images. The default stroke is 1.5px white, with additional options for base (1.5px, equivalent to default), small (1px), medium (2px), large (2.5px), and extra large (3px). The `image-stroke--base` modifier explicitly sets the default stroke width and is useful for responsive layouts. No Stroke Small Base Default Medium Large Extra Large Image StrokePreset Sizes ### Stroke Colors Use the black modifier for images on dark backgrounds. No Stroke Small Base Default Medium Large Extra Large Image StrokeColor Variants Previous [Image Optimize images using dithering techniques for 1-bit rendering](/framework/docs/image) Next [Text Stroke Legible text when displayed on shaded backgrounds](/framework/docs/text_stroke)