Search the Community
Showing results for tags 'colors'.
Hello. When output to the monitor, the color 0xRRGGBB is approximated to the palette set in the monitor. I need to know exactly which color I will get through gpu.get when outputting color 0xRRGGBB. Can you answer (or show example on the Lua): What algorithm is used to approximate colors? Sorry for the bad english. -=- Below, just a small program that I use to test colors. Maybe it will be useful to someone. sicot.lua "SimpleColorTester", "MC 1.12.2", "OpenComputers version 184.108.40.206", "Lua 5.3" local gpu=require('component').gpu local ev=require('event')
Rainbow Sometimes you need to write colored strings in terminal. It isn't easy in some cases, so i wrote library for colored output. Download You can download this library using this command: pastebin get J9nAzYai Also this library can be found in my oppm repository, just navigate to rainbow folder. Example Documentation ... will be here soon. Just wait. Enjoy!