in src/main/kotlin/com/intellij/ideolog/highlighting/LogHighlightingIterator.kt [391:404]
fun getLineBackground(columnValue: CharSequence?, defaultBackground: Color): Color? {
if (columnValue == null) {
return null
}
val hash = abs(columnValue.hashCode()) % 360
val bgHsl = Color.RGBtoHSB(defaultBackground.red, defaultBackground.green, defaultBackground.blue, myHsbVals)
bgHsl[0] = hash / 360.0f
bgHsl[1] = if (bgHsl[2] < 0.5f)
1.0f
else
0.2f
if (bgHsl[2] < 0.5f) bgHsl[2] = 0.3f
return Color(Color.HSBtoRGB(bgHsl[0], bgHsl[1], bgHsl[2]))
}