Prism
by Grend
Prism gives other mods a shared set of color tools, so a color can be animated, written as a web value or adjusted in HSV without custom code.
What it does
A library for color, Prism adds animated colors, web color values and simple HSV changes to mods that already rely on the game's base color type, without extra work. Players do not interact with the library directly; its effects show up in the mods that depend on it.
Only the player's game needs it, since it runs client-side only. On Fabric, Fabric API has to sit alongside it. Forge and NeoForge builds are published alongside Fabric across 23 release versions, 1.16.5 – 26.3. The license is Creative Commons Attribution Non Commercial No Derivatives 4.0, so the code is not open source, but developers may use the library when building their mods or modpacks.
Key features
Animated text colors
Text colors can change over time, which dependent mods can display without writing their own animation code.
Color value conversion
Colors can be read from and written as web color values, matching formats used on the internet.
HSV adjustments
Hue, saturation and value of a color can be changed with simple calls, instead of manual conversion.
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.21.x5 of 5 versions with builds
1.20.x6 of 6 versions with builds
1.19.x5 of 5 versions with builds
1.18.x1 of 1 version with builds
1.16.x1 of 1 version with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Required by 2 mods
Questions
Does Prism need Fabric API?
Which mods rely on Prism?
Is Prism needed on servers?
In the catalog
Prism is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 8,071 mods support Minecraft 26.3.
More from Grend
Similar mods
What the author says
This library contains a powerful set of utilities to easily add color-related functionality to your mods. For example, just installing the library allows any mod that uses Minecraft's built-in TextColor (the basic color functionality) to automatically support animated colors, web colors, easy HSV manipulation, and…
Official listing
- Modrinth page
- modrinth.com/mod/prism-lib
- Owner
- Grend
- Published
- 2022-11-15
- Updated on Modrinth
- 2026-09-22
- Facts verified
- 2026-10-15
