17

I wrote a base converter in AssemblyScript that could take a numeric or string radix of 2-36. String options being binary, ternary, etc.

Then I couldn’t figure out how to color scheme it, so went about it the lazy way.

I present to you: Choose your own damned background and text colors.

https://baseconverterwebassembly.netlify.app/...

Comments
  • 3
    Help: I'm paralyzed by choice!
  • 0
    @arcsector I mean, you _could_ just keep changing it. 😁
  • 1
    I found a bug: If I select the same color for foreground and background, the page is not readable anymore!
  • 2
    @Lensflare I wonder why that would be. 😅
  • 2
    @Lensflare In all seriousness, though, it’s hard to figure out what wouldn’t be surprising behavior for a user to combat that. Like, would you just have a validation on the last selected field tied to a contrast checker and show a message that the selected value would make text impossible to see? 😅
  • 1
    @AmyShackles If I’d suspect that the users are idiots, then yes. Otherwise I wouldn’t care.
Add Comment