static float[] rgbToHSB(RGB rgb) { ret rgb == null ? null : Color.RGBtoHSB(rgb.redInt(), rgb.greenInt(), rgb.blueInt(), new float[3]); } static float[] rgbToHSB(S hexCode) { ret hexCode == null ? null : rgbToHSB(new RGB(hexCode)); }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020327 |
Snippet name: | rgbToHSB |
Eternal ID of this version: | #1020327/2 |
Text MD5: | bd63640a449b9474a3d0f7d34848e8fd |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-14 14:40:57 |
Source code size: | 243 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 213 / 258 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |