Skip to content

Instantly share code, notes, and snippets.

View surahul's full-sized avatar
🌏
working

RV surahul

🌏
working
View GitHub Profile
// ==UserScript==
// @name Thrid Party Reflow
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match *://*/*
// @grant none
// ==/UserScript==
/** Converts the components of a color, as specified by the HSB model, to an
* equivalent set of values for the default RGB model.
* <p>
* The <code>saturation</code> and <code>brightness</code> components should
* be floating-point values between zero and one (numbers in the range
* 0.0-1.0). The <code>hue</code> component can be any floating-point
* number. The floor of this number is subtracted from it to create a
* fraction between 0 and 1. This fractional number is then multiplied by
* 360 to produce the hue angle in the HSB color model.
* <p>