Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kv-color-palette/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
kvColorPaletteGroupId=com.github.KvColorPalette
kvColorPaletteArtifactId=KvColorPalette-Android
kvColorPaletteVersion=3.0.0
kvColorPaletteVersion=3.1.0
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ object ColorUtil {
* @param secondColor [Color] Second color to blend
* @param bias [Float] Bias to the new color for first / second color.
*/
internal fun blendColors(firstColor: Color, secondColor: Color, bias: Float = 0.5f): Color {
fun blendColors(firstColor: Color, secondColor: Color, bias: Float = 0.5f): Color {
val blendRed = colorBlendingComponent(firstColor.red, secondColor.red, bias)
val blendGreen = colorBlendingComponent(firstColor.green, secondColor.green, bias)
val blendBlue = colorBlendingComponent(firstColor.blue, secondColor.blue, bias)
Expand Down