There is no relationship between the two, the color of the price of the stock is determined by the rise and fall of the current price relative to yesterday's closing price.
When the price = closed yesterday, the price shows black.
When the price < closed yesterday, the price shows greenWhen the price is closed yesterday, the price shows red.
The color of the K line is determined by the rise and fall of the closing price of the K line relative to the opening price.
When the closing price > the opening price, the k line shows the red hollow column
When the closing price is less than the opening price, the k line shows the green solid columnWhen closing price = opening price
The opening price > the closing price yesterday showed red
Opening price < closing price yesterday shows green