public class Colours extends Object
Constructor and Description |
---|
Colours() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isHexColour(String input)
Determines whether the input string is a valid hex encoded colour value.
|
public static boolean isHexColour(String input)
See CSS Color Module for the details on how a valid value is determined.
input
- The input string to be tested.true
if the input string is a valid hex encoded colour value. Otherwise, false
.Copyright © 2002-2017 Atlassian. All Rights Reserved.