printfRGB

add %k and %K type specifier to GNU printf for RBG colors
git clone https://noulin.net/git/printfRGB.git
Log | Files | Refs | README | LICENSE

main.c (151B)


      1 #include <stdio.h>
      2 #include "printfRGB.h"
      3 
      4 int main(int ARGC, char** ARGV) {
      5 
      6   initPrintfRBG();
      7 
      8   printf("%k%KRGB color" RST, 0x99EEFF, 0x666666);
      9 }