Merge pull request #22277 from demeritcowboy/isdir2
[civicrm-core.git] / CRM / Core / Smarty / plugins / modifier.colorContrast.php
CommitLineData
d73974ac
CW
1<?php
2/*
3 +--------------------------------------------------------------------+
bc77d7c0 4 | Copyright CiviCRM LLC. All rights reserved. |
d73974ac 5 | |
bc77d7c0
TO
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
d73974ac
CW
9 +--------------------------------------------------------------------+
10 */
11
12/**
13 *
14 * @package CRM
ca5cec67 15 * @copyright CiviCRM LLC https://civicrm.org/licensing
d73974ac
CW
16 */
17
18/**
19 * Wrapper around CRM_Utils_Color::getContrast
20 *
21 * @param string $color
22 *
23 * @return string
24 */
25function smarty_modifier_colorContrast($color) {
26 return CRM_Utils_Color::getContrast($color);
27}