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)

1  
static RGB rgb(S s) {
2  
  ret RGB(s);
3  
}
4  
5  
static RGB rgb(double r, double g, double b) {
6  
  ret RGB((float) r, (float) g, (float) b);
7  
}

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: 416 / 473
Version history: 3 change(s)
Referenced in: [show references]