View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0
- Last updated
- First released
- Unity version
- 2023.1.4 or later
- Package size
- 74 KB
- Files
- 44
- Favorites
- 2
- Views in the past week
- 4
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
TinyColor
TinyColor is a small, fast library for color manipulation and conversion.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 2
TinyColor screenshot 1
About this asset
TinyColor Unity is a lightweight and efficient color manipulation and conversion library designed for use in Unity. This library is versatile, supporting various forms of input and providing essential color conversion functionalities and utility functions. Notably, it operates independently without any external dependencies.
TinyColor Unity is an adaptation of the JavaScript library. This port is tailored specifically for Unity users in the game development community. While retaining the core features of the original library, TinyColor Unity simplifies certain aspects, such as color parsing from strings and automatic detection of color formats. These adjustments aim to streamline the library for game development use cases, where such intricacies are typically less critical compared to web development scenarios.
You can find the most recent update and access the source code at the following GitHub repository: https://github.com/cholushkin/TinyColor
From the publisher's Asset Store listing.
Technical details
- Lighten
- Brighten
- Darken
- Tint
- Shade
- Saturate
- Desaturate
- Greyscale
- Monochromatic
- Complement
- SplitComplement
- Triad/Tetrad/Polyad
- IsReadable/MostReadable
- ParseFromName
- ParseFromHex
- ParseFromRGB
- ParseFromRGB256
- ParseFromHSL
- ParseFromHSV
- ToColor
- ToColor32
- ToRGBA256
- ToRGB256
- ToRGB
- ToRGBA
- ToHSL
- ToHSLA
- ToHSV
- ToHSVA
- ToNumber
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2023.1.4f1 | Compatible | Compatible | Compatible | Compatible |
The package consists solely of C# classes designed for mathematical color manipulation without relying on any rendering pipeline.
As listed on the Asset Store.