feat: gowall color command and color theory utilities #78
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Converts a color between different formats (hex, rgb, hsl, lab). The
-tflag specifies the target format (default: rgb).Lightens a color by a specified amount. The
--factoror-fflag controls how much to lighten (0.0 to 1.0, where 0.3 means 30% lighter, default: 0.3).gowall color light "#FF5733" -f 0.3Darkens a color by a specified amount. The
--factoror-fflag controls how much to darken (0.0 to 1.0, where 0.2 means 20% darker, default: 0.3).gowall color dark "#FF5733" -f 0.4-nflag controls how many colors to generate between these 2 colors. (Default 3)gowall color blend #FFC771 #ff34ff -n 4Generates color variants (shades, tints, tones, monochrome) of a color. The
--typeor-tflag specifies the variant type (default: shades). The--numberor-nflag controls how many variants to generate (default: 5)Generates color wheel schemes (triadic, quadratic, analogous, split-complementary). The --type or -t flag specifies the scheme type (default: triadic).
Generates gradients with 2+ colors.
-dis the dimensions flag. For example-d 1920x1080and in that specific format.-ris the rotation flag. Values areverticalorhorizontal-mis the method flag. It blends the colors in that colorspace before being converted back to rgb.Values are
rgb, hcl, lab, hsv, luv, luvlchOther features
0:1support for theImageProcessorinterface.--batchcan now be normally used with the--outputcommand