Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ TF_hex2dec
Function
TF_hex2dec
recipes/Python/252529_Text_Fader/recipe-252529.py:22–23 ·
view source on GitHub ↗
(hexVal)
Source
from the content-addressed store, hash-verified
20
return
(TF_hexChars[decVal >> 4] + TF_hexChars[decVal & 15])
21
22
def
TF_hex2dec(hexVal):
23
return
(int(hexVal,16))
24
25
def
TextFade(TF_text,TF_font,TF_fontSize,TF_isBold,TF_isItalic,intColor,finalColor):
26
TF_text_arr = TF_text
Callers
1
TextFade
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected