[ 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.

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

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

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



Generated: Sun Dec 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1