CSS Triangle Generator
Generate CSS triangles using the border property. Supports all 8 directions with customizable size and color.
Direction
Preview
CSS code
width: 0; height: 0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-bottom: 100px solid #3B82F6;
How to Use
Choose Direction

Select triangle direction
Adjust Size

Adjust size and color
Copy

Copy CSS code for use
Features
8 Directions
Triangles in 8 directions including diagonals
Custom Size
Specify width and height independently
Live Preview
Changes reflected in preview in real time
FAQ
🔗Related Tools
Color Code Converter
Convert between HEX, RGB, and HSL color codes. Use the color picker and real-time preview for intuitive color selection.
Color Picker
Pick colors intuitively using a color wheel and sliders. Get and copy color codes in HEX, RGB, and HSL formats.
Image Color Extractor
Automatically detect dominant colors from an image and generate a color palette. You can also click anywhere on the image to pick individual colors.
Image Average Color Picker
Calculate the average color of an entire image or a selected area. Useful for choosing color schemes or thumbnail background colors.
CSS Gradient Generator
Visually create CSS gradients with drag controls. Supports linear, radial, and conic gradient types with presets.
CSS Box Shadow Generator
Visually create CSS box-shadow with sliders. Supports multiple shadows and inset shadows.