Kaydet (Commit) 3c0f773d authored tarafından Ali's avatar Ali

I added an description about the new RGB trminal colors. I'll use them later to…

I added an description about the new RGB trminal colors. I'll use them later to unique background colors
üst 117158b6
// reference: https://stackoverflow.com/questions/9781218/how-to-change-node-jss-console-font-color
/**
* ansi color rgb reference: https://stackoverflow.com/a/33206814/3821823
* description:
* \033[38;2;<r>;<g>;<b>m #Select RGB foreground color
* \033[48;2;<r>;<g>;<b>m #Select RGB background color
* example 1:
* \033[38;2;255;82;197;48;2;155;106;0mHello
* example 2:
* console.log("\033[48;2;255;69;0mHello", "\x1b[0m")
* rgb colors: https://www.rapidtables.com/web/color/RGB_Color.html
* true color: https://gist.github.com/XVilka/8346728
*/
/**
* This colors only works on Node Runtime
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment