mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix color bug
This commit is contained in:
parent
f3667dd110
commit
1c8158dc48
@ -37,6 +37,7 @@
|
||||
* 【core 】 修复Linux下使用Windows路径分隔符导致的解压错误(issue#I1MW0E@Gitee)
|
||||
* 【core 】 修复Word07Writer写出map问题(issue#I1W49R@Gitee)
|
||||
* 【script 】 修复函数库脚本执行问题
|
||||
* 【core 】 修复RGB随机颜色的上限值不对且API重复(pr#1136@Gihub)
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
@ -524,9 +524,9 @@ public class RandomUtil {
|
||||
* @since 4.1.5
|
||||
* @deprecated 使用{@link ImagUtil#randomColor()}
|
||||
*/
|
||||
public static Color randomColor() {
|
||||
public static Color randomColor() {
|
||||
final Random random = getRandom();
|
||||
return new Color(random.nextInt(256), random.nextInt(2565), random.nextInt(256));
|
||||
return new Color(random.nextInt(256), random.nextInt(256), random.nextInt(256));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user