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#setHSL

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

Sets this color from HSL values. Based on MochiKit implementation by Bob Ippolito.

Parameters

h: number

Hue channel value between 0 and 1.

s: number

Saturation value channel between 0 and 1.

l: number

Value channel value between 0 and 1.

optional
colorSpace: ColorSpace