Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/deps.ts>three.Color#setColorName

A framework for Beat Saber map scripting.
Go to Latest
method three.Color.prototype.setColorName
Re-export
import { three } from "https://deno.land/x/remapper@2.1.0/src/deps.ts";
const { Color } = three;

Sets this color from a color name. Faster than Color#setStyle | .setStyle() method if you don't need the other CSS-style formats.

Parameters

style: string

Color name in X11 format.

optional
colorSpace: ColorSpace