i made an explainable for a weird colour format i ...
# share-your-work
l
i made an explainable for a weird colour format i use Splash https://www.todepond.com/lab/splash/
there's a control panel thing for fiddling around with colours i hope you enjoy it
and let me know what you think!
o
working on something here:
l
love it!!!! let me know how it goes
m
there will never be enough of color pickers/generators. made this a while ago: https://akovantsev.github.io/colorpicker
Copy code
(function() {
    var colors = [];
    var pad = ' '.repeat(5);
    for (i=0;i<20;i++) {
        var r = Math.min(i*10+250, 255);
        var g = Math.min(i*10+140, 255);
        var b = Math.min(i*20+0, 155);
        var a = Math.min(i*0.01+1.0, 1.0);
        var rgba = 'rgba('+[r,g,b,a]+')';
        colors.push(rgba);
        console.log('%c'+pad+rgba+pad, 'font-size:20px; background-color:'+rgba)
    };
    return colors;
})();
r
As I just two days ago published an article about prototyping native CSS mixins, and also independently I was playing with some colors in CSS, I couldn't stop myself from trying making a mixin implementation for applying splash colors! https://codepen.io/kizu/pen/yyBoyev?editors=1100
l
Oh wow that's lovely!!!
o
l
amazing I love it! let's add this to the list. how do the colours of the posts get decided?
o
it is just = seconds from timestamp % 8 + 1
and I have a preset of 8 colors
l
awesome, great idea!
r
Wrote a quick post about the Splash mixin in my blog: https://blog.kizu.dev/splash-colour-mixin/