Skip to content

Instantly share code, notes, and snippets.

View Razboy20's full-sized avatar

Razboy20

View GitHub Profile
// note: this is extremely ugly patched together code from *years* ago
// that wasn't meant to see the light of day.
// But hey, I suppose it 'works'.
//
// Fun fact: this code was initially written for animating gradients for minecraft titles!
//
// https://www.youtube.com/watch?v=Cc2nkx77U24
function rgbToHex(r, g, b) {
return "#" + ((1 << 24) + (r << 16) + (g << 8) + b).toString(16).slice(1);
@Razboy20
Razboy20 / cloudSettings
Last active March 3, 2020 03:24
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-02-08T03:28:16.282Z","extensionVersion":"v3.4.3"}