Skip to content

Max 7 package (JS + Snippet) for converting RGB / RGBa and Hex colors to decimal values.

icaroferre/ColorToDec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Color to Decimal - JS + Snippet Package for Max

The ColortoDec script converts RGB and Hex values to Decimal values. This is useful for converting color values found in palletes websites / apps to decimal values which can be used to change the color of Max UI objects.

ColortoDec-ScreenShot

How to Install

Download this repository as a ZIP file, extract it and move to folder to your Max 7/Packages folder.

How to Use

Simply create a new object within your patch, type "js colortodec" and hit enter.

To convert RGB / RGBa values, prepend "rgb" to your list.

To convert HEX values, prepend "hex".

Example Snippet

This package also includes an example snippet (ColorToDec-Example) that can be used as reference.

Ícaro Ferre
@icaroferre
spektroaudio.com

About

Max 7 package (JS + Snippet) for converting RGB / RGBa and Hex colors to decimal values.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published