A downloadable asset pack

Download NowName your own price

Color Store Plugin

A comprehensive Construct 3 plugin designed to store, manipulate, and seamlessly convert between various color formats, enhancing your project's color management capabilities.

Current Features

  • Stores colors using tags
  • Supports Hex, RGB (255, and Normalized), HSL, and Packed Integer 
  • Support Color Palettes
  • SDK v2

Planned Features

  • Indexed color swapping
    • Change the color of given tag
    • Trigger color changed conditions

Actions

Action Description Params
Set color (hex) Sets the color Tag (string)
Color (string)
Set color (hsl) Sets the color Tag (string)
Hue (number)
Saturation (number)
Lightness (number)
Alpha (number)
Set color (packed) Sets the color Tag (string)
Color (number)
Set color (rgb) Sets the color Tag (string)
Red (number)
Green (number)
Blue (number)
Alpha (number)
Set color (rgb normalized) Sets the color Tag (string)
Red (number)
Green (number)
Blue (number)
Alpha (number)
Clear color store Clears the color store
Load colors from hex codes Loads colors from hex codes Hex Codes (string)
Load palette Loads a palette Palette (combo)
Load palette from file Loads a palette from a file File Name (string)

Conditions

Condition Description Params
No conditions available

Expressions

Expression Description Return Type Params
HexToPacked Converts Hex to Packed Color number Hex (string)
HexToRGB Converts Hex to RGB String '(r,g,b,a)' string Hex (string)
RGBToHex Converts RGB to Hex string Red (number)
Green (number)
Blue (number)
Alpha (number)
Alpha Returns the color's alpha value number Tag (string)
Blue Returns the color's blue value number Tag (string)
CurrentPalette Returns the current palette string
GetColorJson Returns the color's value as JSON string Tag (string)
GetColorStoreJSON Returns the entire color store as JSON string
Green Returns the color's green value number Tag (string)
Hex Returns the color as a hex string string Tag (string)
Hue Returns the color's hue value number Tag (string)
Lightness Returns the color's lightness value number Tag (string)
NormalizedAlpha Returns the color's alpha value (normalized) number Tag (string)
NormalizedBlue Returns the color's blue value (normalized) number Tag (string)
NormalizedGreen Returns the color's green value (normalized) number Tag (string)
NormalizedRed Returns the color's red value (normalized) number Tag (string)
Packed Returns the color as a packed number number Tag (string)
RandomColor Returns a random color tag the color store string
Red Returns the color's red value number Tag (string)
Saturation Returns the color's saturation value number Tag (string)

Links

StatusReleased
CategoryAssets
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorPiranha305
Tagsc3, color, colors, construct-3, construct3, plugin

Download

Download NowName your own price

Click download now to get access to the following files:

color-store-example.c3p 168 kB
piranha305_colorstore-3.0.1.1.c3addon 30 kB

Leave a comment

Log in with itch.io to leave a comment.