brandkit color
Create a centered color icon preserving original colors.
Synopsis
Description
Shortcut for creating a well-sized, centered icon that preserves original colors. This is equivalent to:
The command performs these steps:
- Removes any solid background
- Preserves original colors (no color conversion)
- Centers the content in the viewBox
- Verifies the result is pure vector
- Scans for security threats (fails by default if threats found)
Flags
| Flag | Description |
|---|---|
-o, --output |
Output file path (required) |
--insecure |
Warn on security threats instead of failing |
-h, --help |
Help for color |
Examples
Create a color icon:
Process a brand icon:
Allow files with security warnings:
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Error (invalid input, processing failure, security threats detected) |