Skip to content

Commit

Permalink
Merge pull request #264 from natsie/patch-1
Browse files Browse the repository at this point in the history
Update color_api.md
  • Loading branch information
jaames authored Feb 4, 2025
2 parents 190d105 + 793225c commit 77c24aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/color_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ Set a specific color channel to a new value. `format` can be either `hsv` or `rg
color.setChannel('rgb', 'r', 255);

// set the hsv hue channel to 180:
color.setChannel('hsv', 'h', 255);
color.setChannel('hsv', 'h', 180);
```

### `clone`
Expand Down Expand Up @@ -242,4 +242,4 @@ Convert an RGB object to an approximated kelvin temperature.

* `{Object}` RGB values, e.g `{r: 255, g: 0, b: 0}`

**Returns**: `{Number}` kelvin temperature
**Returns**: `{Number}` kelvin temperature

0 comments on commit 77c24aa

Please sign in to comment.