• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Jetpack a2z

Jetpack a2z

Jetpack a2z

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / _inc/lib/class.color.php


Lines:

1 to 49 of 49
<?php

/* class Jetpack_Color */
/* function Jetpack_Color::__construct() – Initialize object */
/* function Jetpack_Color::fromHex() – Init color from hex value */
/* function Jetpack_Color::fromRgbInt() – Init color from integer RGB values */
/* function Jetpack_Color::fromRgbHex() – Init color from hex RGB values */
/* function Jetpack_Color::fromHsl() – Converts an HSL color value to RGB. Conversion formula
adapted from https://en.wikipedia.org/wiki/HSL_color_space. */
/* function Jetpack_Color::hue2rgb() – Helper function for Jetpack_Color::fromHsl() */
/* function Jetpack_Color::fromInt() – Init color from integer value */
/* function Jetpack_Color::toHex() – Convert color to hex */
/* function Jetpack_Color::toRgbInt() – Convert color to RGB array (integer values) */
/* function Jetpack_Color::toRgbHex() – Convert color to RGB array (hex values) */
/* function Jetpack_Color::toHsvFloat() – Get Hue/Saturation/Value for the current color
(float values, slow but accurate) */
/* function Jetpack_Color::toHsvInt() – Get HSV values for color
(integer values from 0-255, fast but less accurate) */
/* function Jetpack_Color::toHsl() – Converts an RGB color value to HSL. Conversion formula
adapted from https://en.wikipedia.org/wiki/HSL_color_space. */
/* function Jetpack_Color::toCSS() – */
/* function Jetpack_Color::toXyz() – Get current color in XYZ format */
/* function Jetpack_Color::toLabCie() – Get color CIE-Lab values */
/* function Jetpack_Color::toInt() – Convert color to integer */
/* function Jetpack_Color::__toString() – Alias of toString() */
/* function Jetpack_Color::toString() – Get color as string */
/* function Jetpack_Color::getDistanceRgbFrom() – Get the distance between this color and the given color */
/* function Jetpack_Color::getDistanceLabFrom() – Get distance from the given color using the Delta E method */
/* function Jetpack_Color::toLuminosity() – */
/* function Jetpack_Color::getDistanceLuminosityFrom() – Get distance between colors using luminance. */
/* function Jetpack_Color::getMaxContrastColor() – */
/* function Jetpack_Color::getGrayscaleContrastingColor() – */
/* function Jetpack_Color::getReadableContrastingColor() – Gets a readable contrasting color. $this is assumed to be the text and $color the background color. */
/* function Jetpack_Color::isGrayscale() – Detect if color is grayscale */
/* function Jetpack_Color::getClosestMatch() – Get the closest matching color from the given array of colors */
/* function Jetpack_Color::darken() – */
/* function Jetpack_Color::lighten() – */
/* function Jetpack_Color::incrementLightness() – */
/* function Jetpack_Color::saturate() – */
/* function Jetpack_Color::desaturate() – */
/* function Jetpack_Color::incrementSaturation() – */
/* function Jetpack_Color::toGrayscale() – */
/* function Jetpack_Color::getComplement() – */
/* function Jetpack_Color::getSplitComplement() – */
/* function Jetpack_Color::getAnalog() – */
/* function Jetpack_Color::getTetrad() – */
/* function Jetpack_Color::getTriad() – */
/* function Jetpack_Color::incrementHue() – */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: _inc/lib/class.color.php
      Plugin ref: Jetpack
      Version: 9.2
      Deprecated?: No
      API Letters: _,C,I,L

      Related

      Published: 27 November 2019 | Last updated: 27 November 2019

      Primary Sidebar

      Information

      File name: _inc/lib/class.color.php
      Plugin ref: Jetpack
      Version: 9.2
      Deprecated?: No
      API Letters: _,C,I,L

      _inc/lib

      Footer

      Jetpack a2z
      Jetpack a2z
      Jetpack a2z
      WordPress 5.6
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  jetpack.wp-a2z.org
      © Copyright Jetpack a2z 2014-2021. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites