def color.named
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
import gralha-text-scan@0.1.0.1/scan.bend as U
import gralha-image@0.1.0.1/image.bend as Img
683def color.named(s: String) -> Img.Color:
684 +code = color.named.code(s)
685 color.rgb(U.choose(U32, U32.is_lt(code, 16777216), code, 0))