Quantcast
Channel: Active questions tagged ruby - Stack Overflow
Viewing all articles
Browse latest Browse all 4622

Printing Color using Ruby

$
0
0

Using Replit as my IDE, I'm trying to create a program that outputs color palettes (either in the console, or textfile, or something). How can I output something that shows the color of a specific rgb (or other) value?

I believe the gem Colorize and Rainbow don't allow you to customize the colors of the text.I've tried some game creation gems, like Ruby2D or Gosu, but because they are dependent on SDL2, I faced issues because of Replit and my linux platform.

Please help, I'm getting a little desperate here because this is for a school project. Thanks guys


Viewing all articles
Browse latest Browse all 4622


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>