forked from Haleth/Aurora
-
Notifications
You must be signed in to change notification settings - Fork 5
ColorMixin
CI edited this page Feb 27, 2022
·
2 revisions
This is an extension of Blizzard's own ColorMixin. Created using Color.Create.
This extends the original method by adding two additional properties,
self.colorStr and self.isAchromatic.
-
colorStr- the hex representation of the color (string) -
isAchromatic- weather or not the color is gray-scale (boolean)
This extends the original method by adding support for non-object colors.
See [Color.Hue]
See [Color.Saturation]
See [Color.Lightness]