mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-20 01:28:09 +08:00
copyright
This commit is contained in:
@@ -1,3 +1,20 @@
|
||||
/*
|
||||
* Copyright [2022] [MaxKey of copyright http://www.maxkey.top]
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
package com.google.code.kaptcha.impl;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
@@ -125,21 +125,30 @@ public class RandomColorWordRenderer extends Configurable implements WordRendere
|
||||
}
|
||||
|
||||
static String [] COLOR_LIST = {
|
||||
//"255, 255, 255",//white
|
||||
//"192, 192, 192",//silver
|
||||
//"128, 128, 128",//gray
|
||||
"0, 0, 0",//black
|
||||
"255, 0, 0",//red
|
||||
"128, 0, 0",//maroon
|
||||
"255, 255, 0",//yellow
|
||||
"128, 128, 0",//olive
|
||||
"0, 255, 0",//lime
|
||||
"0, 128, 0",//green
|
||||
"0, 255, 255",//aqua
|
||||
"0, 128, 128",//teal
|
||||
"0, 0, 255",//blue
|
||||
"0, 0, 128",//navy
|
||||
"255, 0, 255",//fuchsia
|
||||
"128, 0, 128"//purple
|
||||
//"255, 255, 255", //white
|
||||
//"192, 192, 192", //silver
|
||||
//"128, 128, 128", //gray
|
||||
"0, 0, 0", //black
|
||||
"0, 0, 128", //navy
|
||||
"0, 0, 255", //blue
|
||||
"0, 128, 0", //green
|
||||
"0, 128, 128", //teal
|
||||
"0, 255, 0", //lime
|
||||
"0, 255, 255", //aqua
|
||||
"75, 0, 130", //Indigo
|
||||
"128, 0, 0", //maroon
|
||||
"128, 0, 128", //purple
|
||||
"128, 128, 0", //olive
|
||||
"135, 206, 235", //SkyBlue`````
|
||||
"165, 42, 42", //Brown
|
||||
"210, 105, 30", //Chocolate
|
||||
"255, 0, 0", //red
|
||||
"255, 0, 255", //fuchsia
|
||||
"255, 69, 0", //OrangeRed
|
||||
"255, 127, 80", //Coral
|
||||
"255, 165, 0", //Orange
|
||||
"255, 192, 203", //Pink
|
||||
"255, 215, 0", //Gold
|
||||
"255, 255, 0", //yellow
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user