I came across the following line
hsb.s = max != 0 ? 255 * delta / max : 0;
What do the ? and : mean in this conte
?
:
? : isn't this the ternary operator?
? :
var x= expression ? true:false