Skip to content
shensvenPublic

About

🎨 Convert to CSS filter be like using Hex, RGB or HSL

Topics

Resources

Stars

9 stars

Watchers

1 watching

Forks

Repository files navigation

Morphling

GitHub SwiftLint Test

English | 简体中文

Morphling turns a color into a CSS filter value that recolors monochrome SVG icons.

Depending on how an icon pack is built, setting fill or color on its icons may not give you the color you expect. A CSS filter recolors whatever the icon renders, so it works regardless.

The conversion comes from CSS Filter Converter, a JavaScript project. Morphling brings it to the Mac as a native SwiftUI app.

Preview

✨ Features

  • Enter a color as Hex, RGB or HSL, and switch between them without losing it
  • Copy the filter on its own or as a complete filter: declaration
  • Keep the window on top while you work in a browser or editor
  • Light and dark appearance
  • English, 简体中文 and 日本語
  • Free and open source

💻 Requirements

macOS 14 Sonoma or later

📦 Download

Mac App Store

🛠 Building from Source

Requires Xcode 27 or later.

  1. Open Morphling.xcodeproj.
  2. Under Signing & Capabilities, pick your own team, or choose Sign to Run Locally.
  3. Build and run the Morphling scheme.

If SwiftLint is installed, every build lints the sources with it.

To run the tests from the command line:

xcodebuild test -project Morphling.xcodeproj -scheme Morphling -destination 'platform=macOS' CODE_SIGNING_ALLOWED=NO

The conversion runs in JavaScriptCore from converter/dist/converter.js. That file is committed, so building the app doesn't need Node.js. To change the converter, see converter/README.md.

👍 Credits

Dependencies

Artwork

Localization

📜 License

MIT License - Copyright (c) 2023-2026 DevSven

The press kit in Resources/PressKit is licensed under CC BY-SA 4.0.

About

🎨 Convert to CSS filter be like using Hex, RGB or HSL

Topics

Resources

Stars

9 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages