// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Represents an hsl color.
// https://drafts.css-houdini.org/css-typed-om-1/#csshsl
[
Exposed=(Window,LayoutWorklet,PaintWorklet),
RuntimeEnabled=CSSColorTypedOM
] interface CSSHSL : CSSColorValue {
[RaisesException] constructor(CSSNumericValue h, CSSNumberish s, CSSNumberish l, optional CSSNumberish alpha = 1);
[RaisesException=Setter] attribute CSSNumericValue h;
[RaisesException=Setter] attribute CSSNumberish s;
[RaisesException=Setter] attribute CSSNumberish l;
[RaisesException=Setter] attribute CSSNumberish alpha;
};