πΉοΈ
Highlights
Pinned Loading
-
angular-monaco-languageclient
angular-monaco-languageclient PublicAn Angular based Monaco editor & language client example
-
-
-
Snap-Mind/snap-mind
Snap-Mind/snap-mind PublicA cross-platform desktop AI assistant that lets you translate, rewrite, summarize, and brainstorm with just a hotkey.
TypeScript 9
-
Determine font color based on the ba...
Determine font color based on the background color 1// suppose background color is: rbg(0, 23, 255)
2function textColorBasedOnBackground(backgroundColor) {
3backgroundColor = backgroundColor.substring(1);
4const r = parseInt(backgroundColor.substring(0,2), 16); // 0 ~ 255
5const g = parseInt(backgroundColor.substring(2,4), 16);
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.