@mocanvas/mocanvas · function
declare function getNoteGradientTopFrom(fill: string): stringTop of a note's body gradient, derived from the colour at its bottom. Takes
a #rrggbb; anything else (an #rrggbbaa, a named colour) is returned
unchanged, so the gradient degrades to a flat body rather than to garbage.
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.