Skip to content

Commit c2a8613

Browse files
committed
Fix setHsv documentation
1 parent 94fc05e commit c2a8613

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

colorpicker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,8 @@
390390
};
391391

392392
/**
393-
* Sets color of the picker in rgb format.
394-
* @param {object} rgb Object of the form: { r: <red>, g: <green>, b: <blue> }.
393+
* Sets color of the picker in hsv format.
394+
* @param {object} hsv Object of the form: { h: <hue>, s: <saturation>, v: <value> }.
395395
*/
396396
ColorPicker.prototype.setHsv = function(hsv) {
397397
return setColor(this, hsv);

0 commit comments

Comments
 (0)