HSV colour picker
This script allows the currently active fill and stroke colours to be set using HSVA numbers
Category: Shapes
Published: Oct 1 2024, 09:25
Last Edited: Nov 13 2024, 03:39
Created for Moho Version: 14.0
Returned Version: 0.66
Edition Downloads: 397
The tool provides a colour selection window for fill and stroke colours. The colours can be adjusted using numerical input fields for Hue, Saturation, Value and Alpha.
If the appropriate check marks are set, the adjusted colour(s) will be applied to the active fill and/or stroke colours in the styles window and on all selected shapes in the active layer.
Update 0.66:
Added "undo" functionality. This will undo changes to active (selected) shape(s) and the corresponding change in the styles window. However, if there are no active shapes, the style window will be updated as appropriate but this tool will not mark the document as "Dirty" and undo will undo the last undoable action. [Moho doesn't consider a change only to the styles swatches to be undoable.]
Update 0.65:
New functionality:
> Custom swatch. Colours (not alpha) can be added to or removed from the custom swatch.
> HSVA inputs can now cyclically scroll past 0 / maximum.
> The "to be" fields can be set by using the eyedropper (the "to be" swatch reinstated from v0.25 and now enabled for input).
> Better presentation of alpha in the preview windows.
Otherwise essentially the same functionality as 0.35.
Update 0.37:
Error in LM conversion hsv/rgb; replaced with local functionality pending update to Moho. Otherwise no change in functionality from V0.35
Update 0.36:
Error corrected in presentation of numerical value for Hue. Otherwise no change in functionality from V0.35
Update 0.35:
Preview windows are provided to give a side-by-side comparison of the "as is" and "to be" colours.
Changes from the previous version (0.25):
the (output only) swatches have been removed and replaced by the preview windows.
The tool will not work on Moho versions before 14.0.
This still (v0.66) remains as a preliminary version.
If the appropriate check marks are set, the adjusted colour(s) will be applied to the active fill and/or stroke colours in the styles window and on all selected shapes in the active layer.
Update 0.66:
Added "undo" functionality. This will undo changes to active (selected) shape(s) and the corresponding change in the styles window. However, if there are no active shapes, the style window will be updated as appropriate but this tool will not mark the document as "Dirty" and undo will undo the last undoable action. [Moho doesn't consider a change only to the styles swatches to be undoable.]
Update 0.65:
New functionality:
> Custom swatch. Colours (not alpha) can be added to or removed from the custom swatch.
> HSVA inputs can now cyclically scroll past 0 / maximum.
> The "to be" fields can be set by using the eyedropper (the "to be" swatch reinstated from v0.25 and now enabled for input).
> Better presentation of alpha in the preview windows.
Otherwise essentially the same functionality as 0.35.
Update 0.37:
Error in LM conversion hsv/rgb; replaced with local functionality pending update to Moho. Otherwise no change in functionality from V0.35
Update 0.36:
Error corrected in presentation of numerical value for Hue. Otherwise no change in functionality from V0.35
Update 0.35:
Preview windows are provided to give a side-by-side comparison of the "as is" and "to be" colours.
Changes from the previous version (0.25):
the (output only) swatches have been removed and replaced by the preview windows.
The tool will not work on Moho versions before 14.0.
This still (v0.66) remains as a preliminary version.