MCPcopy Create free account

hub / github.com/ardov/huetone / functions

Functions203 in github.com/ardov/huetone

↓ 16 callersFunctionmultiplyMatrices
(A, B)
src/shared/colorFuncs/colorMath/multiply-matrices.js:9
↓ 13 callersFunctionlch2color
(lch: LCH)
src/shared/colorFuncs/index.ts:47
↓ 12 callersFunctionnoDefault
(func: () => any)
src/components/KeyPressHandler.tsx:36
↓ 11 callersFunctionpaddedScale
(width: number, stops: number[], limit?: number)
src/shared/interpolation.ts:62
↓ 9 callersMethodsetPixel
(x: number, y: number, pixelData: TPixelData)
src/components/ColorGraph/Chart/RenderStrategy/WorkerPool/worker/Pixels.ts:12
↓ 8 callersFunctionhex2color
(hex: string)
src/shared/colorFuncs/index.ts:73
↓ 8 callersFunctionlerp
(start: number, end: number, t: number)
src/shared/interpolation.ts:2
↓ 8 callersFunctionsycledLerp
( start: number, end: number, t: number, limit?: number )
src/shared/interpolation.ts:31
↓ 6 callersFunctionclamp
(value: number, min: number, max: number)
src/shared/utils.ts:9
↓ 6 callersFunctiongetCurrent
(key = KEY)
src/shared/hooks/useColorScheme.tsx:63
↓ 6 callersFunctionround
(v: number, exp = 2)
src/shared/color.ts:43
↓ 5 callersFunctionexportToHexPalette
(palette: Palette)
src/store/palette/converters.ts:90
↓ 5 callersFunctionisWithinGamut
(rgb: RGB)
src/shared/colorFuncs/utils.ts:19
↓ 5 callersFunctionlinearScale
(stops: number[], limit?: number)
src/shared/interpolation.ts:47
↓ 5 callersFunctionuseKeyPress
(targetKey: string)
src/shared/hooks/useKeyPress.ts:4
↓ 4 callersFunctionparseHexPalette
( hexPalette: HexPalette, mode: spaceName )
src/store/palette/converters.ts:34
↓ 4 callersFunctionreorder
(list: T[], startIndex: number, endIndex: number)
src/shared/utils.ts:1
↓ 4 callersFunctionsetColor
( palette: Palette, lch: LCH, hue: number, tone: number )
src/store/palette/paletteReducers.ts:126
↓ 4 callersFunctionswitchPalette
(id: number)
src/store/palette/actions.ts:14
↓ 3 callersFunctionbakeBitmap
(pixels: Pixels)
src/components/ColorGraph/Chart/RenderStrategy/WorkerPool/worker/paintWorker.ts:195
↓ 3 callersFunctiongetMostContrast
(color: string, colorList: string[])
src/shared/color.ts:23
↓ 3 callersFunctiongetP3pixel
(x: number, y: number)
src/components/ColorGraph/Chart/RenderStrategy/WorkerPool/worker/paintWorker.ts:20
↓ 3 callersFunctiongetRec2020pixel
(x: number, y: number)
src/components/ColorGraph/Chart/RenderStrategy/WorkerPool/worker/paintWorker.ts:21
↓ 3 callersFunctiongetSrgbPixel
()
src/components/ColorGraph/Chart/RenderStrategy/WorkerPool/worker/paintWorker.ts:19
↓ 3 callersFunctionsetColor
(channel: Channel, value: number)
src/components/Header/ColorEditor.tsx:24
↓ 3 callersFunctiontoHex
(x: number)
src/shared/colorFuncs/utils.ts:84
↓ 2 callersFunctionapcaContrast
(backgroundHex: string, textHex: string)
src/shared/color.ts:8
↓ 2 callersFunctionarrayToString
(arr: (string | number)[])
src/components/Stack.tsx:72
↓ 2 callersFunctioncolorSpaceMaker
Makes color space object with essential functions
src/shared/colorFuncs/index.ts:40
↓ 2 callersFunctioncopyToClipboard
(str: string)
src/components/KeyPressHandler.tsx:206
↓ 2 callersFunctionduplicateHue
( palette: Palette, hueId: number, insertId: number )
src/store/palette/paletteReducers.ts:48
↓ 2 callersFunctionduplicateTone
( palette: Palette, toneId: number, insertId: number )
src/store/palette/paletteReducers.ts:30
↓ 2 callersFunctiongam_sRGB
(RGB)
src/shared/colorFuncs/colorMath/conversions.js:35
↓ 2 callersFunctiongetSystemPreference
()
src/shared/hooks/useColorScheme.tsx:67
↓ 2 callersFunctionlch2rgb
(lch: LCH)
src/shared/colorFuncs/index.ts:44
↓ 2 callersFunctionlin_sRGB
(RGB)
src/shared/colorFuncs/colorMath/conversions.js:15
↓ 2 callersFunctionoffscreenRenderFallback
( ctx: CanvasRenderingContext2D, image: ImageData, from: number, to: number, height: number )
src/components/ColorGraph/Chart/drawImageOnCanvasSafe.ts:74
↓ 2 callersFunctionregisterValidSW
(swUrl: string, config?: Config)
src/serviceWorkerRegistration.ts:62
↓ 2 callersFunctionreorderHues
( palette: Palette, idxFrom: number, idxTo: number )
src/store/palette/paletteReducers.ts:80
↓ 2 callersFunctionreorderTones
( palette: Palette, idxFrom: number, idxTo: number )
src/store/palette/paletteReducers.ts:92
↓ 2 callersFunctionsetColor
(color: TColor, idx: number, value: number)
src/components/ColorGraph/index.tsx:35
↓ 2 callersFunctionsrgb2hex
([r, g, b]: RGB)
src/shared/colorFuncs/utils.ts:83
↓ 2 callersFunctionuseColorScheme
()
src/shared/hooks/useColorScheme.tsx:61
↓ 2 callersFunctionxyz2rgb
(xyz: XYZ)
src/shared/colorFuncs/utils.ts:14
↓ 1 callersFunctionD50_to_D65
(XYZ)
src/shared/colorFuncs/colorMath/conversions.js:321
↓ 1 callersFunctionD65_to_D50
(XYZ)
src/shared/colorFuncs/colorMath/conversions.js:305
↓ 1 callersFunctionLCH_to_Lab
(LCH)
src/shared/colorFuncs/colorMath/conversions.js:389
↓ 1 callersFunctionLab_to_LCH
(Lab)
src/shared/colorFuncs/colorMath/conversions.js:379
↓ 1 callersFunctionLab_to_XYZ
(Lab)
src/shared/colorFuncs/colorMath/conversions.js:356
↓ 1 callersFunctionOKLCH_to_OKLab
(OKLCH)
src/shared/colorFuncs/colorMath/conversions.js:454
↓ 1 callersFunctionOKLab_to_OKLCH
(OKLab)
src/shared/colorFuncs/colorMath/conversions.js:445
↓ 1 callersFunctionOKLab_to_XYZ
(OKLab)
src/shared/colorFuncs/colorMath/conversions.js:425
↓ 1 callersFunctionXYZ_to_Lab
(XYZ)
src/shared/colorFuncs/colorMath/conversions.js:334
↓ 1 callersFunctionXYZ_to_OKLab
(XYZ)
src/shared/colorFuncs/colorMath/conversions.js:404
↓ 1 callersFunctionXYZ_to_lin_2020
(XYZ)
src/shared/colorFuncs/colorMath/conversions.js:292
↓ 1 callersFunctionXYZ_to_lin_P3
(XYZ)
src/shared/colorFuncs/colorMath/conversions.js:108
↓ 1 callersFunctionXYZ_to_lin_sRGB
(XYZ)
src/shared/colorFuncs/colorMath/conversions.js:66
↓ 1 callersFunctionaddHue
(palette: Palette, hueName: string = 'Gray')
src/store/palette/paletteReducers.ts:5
↓ 1 callersFunctionaddTone
( palette: Palette, toneName: string = (palette.tones.length + 1) * 100 + '' )
src/store/palette/paletteReducers.ts:19
↓ 1 callersFunctionbuildDrawingAreas
(width: number, areasCount: number)
src/components/ColorGraph/Chart/RenderStrategy/Concurrent/buildDrawingAreas.ts:1
↓ 1 callersFunctioncheckValidServiceWorker
(swUrl: string, config?: Config)
src/serviceWorkerRegistration.ts:106
↓ 1 callersFunctionclampColorsToRgb
(palette: Palette)
src/store/palette/paletteReducers.ts:177
↓ 1 callersFunctioncleanURL
()
src/store/palette/utils.ts:36
↓ 1 callersFunctioncolorToLchString
(color: TColor)
src/shared/color.ts:32
↓ 1 callersFunctionconvertToMode
(palette: Palette, mode: spaceName)
src/store/palette/paletteReducers.ts:194
↓ 1 callersFunctioncopyCurrentHex
()
src/components/KeyPressHandler.tsx:98
↓ 1 callersFunctioncopyCurrentLCH
()
src/components/KeyPressHandler.tsx:94
↓ 1 callersFunctiondeletePalette
(idx: number)
src/store/palette/actions.ts:54
↓ 1 callersFunctiondrawImageOnCanvasSafe
( ctx: CanvasRenderingContext2D, image: PaintResult, from: number, to: number, height: number )
src/components/ColorGraph/Chart/drawImageOnCanvasSafe.ts:42
↓ 1 callersFunctionduplicatePalette
(idx: number)
src/store/palette/actions.ts:61
↓ 1 callersFunctionexportToCSS
(palette: Palette)
src/store/palette/converters.ts:123
↓ 1 callersFunctionexportToTokens
(palette: Palette)
src/store/palette/converters.ts:104
↓ 1 callersFunctionfilterInput
Detects if keyboard input is from editable field
src/components/KeyPressHandler.tsx:188
↓ 1 callersFunctionforceIntoGamut
(lch: LCH, lch2rgb: (lch: LCH) => RGB)
src/shared/colorFuncs/utils.ts:30
↓ 1 callersFunctionfromDisplayOKLCH
* Parses L component from percents * L: [0-100] -> [0-1] * @param lch color
src/shared/colorFuncs/colorModels.ts:53
↓ 1 callersFunctiongam_2020
(RGB)
src/shared/colorFuncs/colorMath/conversions.js:258
↓ 1 callersFunctiongam_P3
(RGB)
src/shared/colorFuncs/colorMath/conversions.js:87
↓ 1 callersFunctiongetAPCAColor
(cr: number)
src/components/ColorInfo/ContrastBadge.tsx:65
↓ 1 callersFunctiongetAPCAComment
(cr: number)
src/components/ColorInfo/ContrastBadge.tsx:56
↓ 1 callersFunctiongetLocalPreference
()
src/shared/hooks/useColorScheme.tsx:73
↓ 1 callersFunctiongetPaletteLink
(palette: Palette)
src/store/palette/converters.ts:140
↓ 1 callersFunctiongetUrlPalette
()
src/store/palette/utils.ts:26
↓ 1 callersFunctiongetWCAGColor
(cr: number)
src/components/ColorInfo/ContrastBadge.tsx:76
↓ 1 callersFunctiongetWCAGComment
(cr: number)
src/components/ColorInfo/ContrastBadge.tsx:70
↓ 1 callersFunctioninvLerp
(start: number, end: number, value: number)
src/shared/interpolation.ts:9
↓ 1 callersFunctionjsonToHexPalette
(json: string | null)
src/store/palette/converters.ts:12
↓ 1 callersFunctionlin_sRGB_to_XYZ
(rgb)
src/shared/colorFuncs/colorMath/conversions.js:54
↓ 1 callersFunctionparseOldLchPalette
(lchPalette: OldLchPalette)
src/store/palette/converters.ts:65
↓ 1 callersFunctionpasteToCurrent
()
src/components/KeyPressHandler.tsx:103
↓ 1 callersFunctionpolar_premultiply
(color, alpha, hueIndex)
src/shared/colorFuncs/colorMath/conversions.js:481
↓ 1 callersFunctionremoveHue
(palette: Palette, idx: number)
src/store/palette/paletteReducers.ts:64
↓ 1 callersFunctionremoveTone
(palette: Palette, idx: number)
src/store/palette/paletteReducers.ts:72
↓ 1 callersFunctionrenameHue
( palette: Palette, hue: number, newName: string )
src/store/palette/paletteReducers.ts:104
↓ 1 callersFunctionrenameTone
( palette: Palette, tone: number, newName: string )
src/store/palette/paletteReducers.ts:115
↓ 1 callersFunctionreportWebVitals
(onPerfEntry?: ReportHandler)
src/reportWebVitals.ts:3
↓ 1 callersFunctionrgb2lch
(rgb: RGB)
src/shared/colorFuncs/index.ts:45
↓ 1 callersFunctionrgb2xyz
(rgb: RGB)
src/shared/colorFuncs/utils.ts:15
↓ 1 callersFunctionsetHueHue
( palette: Palette, hueValue: number, hueId: number )
src/store/palette/paletteReducers.ts:161
↓ 1 callersFunctionsetToneLuminance
( palette: Palette, luminance: number, tone: number )
src/store/palette/paletteReducers.ts:145
↓ 1 callersFunctiontoDisplayOKLCH
* Remaps L component to percents * L: [0-1] -> [0-100] * @param lch color
src/shared/colorFuncs/colorModels.ts:44
next →1–100 of 203, ranked by callers