Categories: None [Edit]
colorset_generator
Generates Xcode .xcassets ColorSet JSON files from color palette URLs.
Extracts hex color codes embedded in URLs from palette tools such as:
- Huemint (https://huemint.com)
- RealtimeColors (https://realtimecolors.com)
- Coolors (https://coolors.co)
Any URL that encodes hex codes in its path or query string is supported.
Dark mode variants are automatically calculated by inverting the HSL
lightness of each light color — no manual dark palette needed.
The generated Colors.xcassets folder can be dragged and dropped directly
into Xcode's Assets catalog to use the colors in Swift/SwiftUI projects.
Usage:
colorset_generator "https://huemint.com/brand-2/#palette=2a3031-fafdfc-a19985"
colorset_generator "https://coolors.co/c4f1be-a2c3a4-869d96-525b76-201e50" --output MyPalette.xcassets
colorset_generator "https://www.realtimecolors.com/?colors=14140f-f8f8f6-9a9e79-aec4bd-8ea7ad" --no-dark
Total
Ranking: 190,907 of 192,290
Downloads: 210
Daily
Ranking: 130,905 of 192,263
Downloads: 0
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | hiroakisatou |