Skip to content

Commit

Permalink
Improve the Color class description
Browse files Browse the repository at this point in the history
  • Loading branch information
willeastcott committed Jun 20, 2024
1 parent 1610caa commit 2d655f4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/core/math/color.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { math } from './math.js';

/**
* Representation of an RGBA color.
* An RGBA color.
*
* Each color component is a floating point value in the range 0 to 1. The `r` (red), `g` (green)
* and `b` (blue) components define a color in RGB color space. The `a` (alpha) component defines
* transparency. An alpha of 1 is fully opaque. An alpha of 0 is fully transparent.
*
* @category Math
*/
Expand Down

0 comments on commit 2d655f4

Please sign in to comment.