Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1015465 // rgb - takes "aabbcc" or "#aabbcc" (upper or lower case)

JavaX fragment (include)

static RGB rgb(S s) {
  ret RGB(s);
}

static RGB rgb(double r, double g, double b) {
  ret RGB((float) r, (float) g, (float) b);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1015465
Snippet name: rgb - takes "aabbcc" or "#aabbcc" (upper or lower case)
Eternal ID of this version: #1015465/4
Text MD5: 97766b8da106efd203ab1fc7b8230929
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-07 12:32:03
Source code size: 137 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 353 / 398
Version history: 3 change(s)
Referenced in: [show references]