[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentytwentyone/assets/js/ -> customize-helpers.js (summary)

(no description)

File Size: 39 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  twentytwentyoneGetHexLum()
  twentytwentyoneGetRgbFromHex()

Functions
Functions that are not part of a class:

twentytwentyoneGetHexLum( hex )   X-Ref
Get luminance from a HEX color.

since: Twenty Twenty-One 1.0
return: {number} - Returns the luminance, number between 0 and 255.
param: {string} hex - The hex color.

twentytwentyoneGetRgbFromHex( hex )   X-Ref
Get RGB from HEX.

since: Twenty Twenty-One 1.0
return: {Object} - Returns an object {r, g, b}
param: {string} hex - The hex color.



Generated: Fri Apr 26 01:00:03 2024 Cross-referenced by PHPXref 0.7.1