Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 18th, 2017
83
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
let HEX_to_RGB = (hex) => {
let r = hex.substr(0,2),
g = hex.substr(2,2),
b = hex.substr(4,2);
return {
r: parseInt(r, 16),
g: parseInt(g, 16),
b: parseInt(b, 16)
};
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 5 min ago | 0.39 KB
Projects
HTML | 15 min ago | 1.13 KB
[db error] mainwindow.cpp
C++ | 1 hour ago | 0.57 KB
[db error] mainwindow.h
C | 1 hour ago | 0.46 KB
[db error] CMakeLists.txt
CMake | 1 hour ago | 0.70 KB
T123456
SQL | 1 hour ago | 0.44 KB
C++ Multithreading code on Sort array CHATGPT
C++ | 1 hour ago | 0.97 KB
C++ Multithreading Calculate Fibonacci CHATGP...
C++ | 1 hour ago | 0.60 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!